diff --git a/add-add'l-USCDI-extensions.ipynb b/add-add'l-USCDI-extensions.ipynb
index d61dfd92..03678300 100644
--- a/add-add'l-USCDI-extensions.ipynb
+++ b/add-add'l-USCDI-extensions.ipynb
@@ -19,25 +19,18 @@
},
{
"cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": []
- },
- {
- "cell_type": "code",
- "execution_count": 1,
+ "execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
- "('2023-10-11',\n",
- " PosixPath('/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml'),\n",
- " PosixPath('/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-copy'))"
+ "('2023-10-17',\n",
+ " PosixPath('/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml'),\n",
+ " PosixPath('/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml-copy'))"
]
},
- "execution_count": 1,
+ "execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
@@ -50,12 +43,14 @@
"from datetime import datetime\n",
"from fhir.resources.structuredefinition import StructureDefinition\n",
"\n",
- "in_path = Path(r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml')\n",
- "R4_path = Path(r'/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package')\n",
- "\n",
- "out_path = Path(r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-copy')\n",
- "#create out_path using pathlib Path.mkdir(parents=True, exist_ok=True)\n",
+ "my_path = r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input'\n",
+ "# my_path = r'/Users/ehaas/Documents/FHIR/US-Core/input'\n",
+ "in_path = Path(my_path) / 'resources-yaml'\n",
+ "out_path = Path(my_path) / 'resources-yaml-copy'\n",
"out_path.mkdir(parents=True, exist_ok=True)\n",
+ "#create out_path using pathlib Path.mkdir(parents=True, exist_ok=True)\n",
+ "\n",
+ "R4_path = Path(r'/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package')\n",
"\n",
"today = datetime.today().strftime('%Y-%m-%d')\n",
"today, in_path, out_path"
@@ -63,7 +58,7 @@
},
{
"cell_type": "code",
- "execution_count": 2,
+ "execution_count": 6,
"metadata": {},
"outputs": [
{
@@ -84,6 +79,8 @@
" 'Patient.name.suffix',\n",
" 'ServiceRequest.reasonCode',\n",
" 'ServiceRequest.reasonReference',\n",
+ " 'Procedure.reasonCode',\n",
+ " 'Procedure.reasonReference',\n",
" 'MedicationRequest.reasonCode',\n",
" 'MedicationRequest.reasonReference',\n",
" 'MedicationRequest.extension:medicationAdherence',\n",
@@ -94,7 +91,7 @@
" 'Specimen.condition']"
]
},
- "execution_count": 2,
+ "execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
@@ -102,7 +99,8 @@
"source": [
"# get csv file of add'l uscdi elements using pandas\n",
"import pandas as pd\n",
- "df = pd.read_csv(r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/data/additional-uscdi-requirements.csv')\n",
+ "additional_uscdi = Path(my_path) / 'data/additional-uscdi-requirements.csv'\n",
+ "df = pd.read_csv(additional_uscdi)\n",
"\n",
"#list the FHIR Element column\n",
"addl_uscdi_elements = df['FHIR Element'].tolist()\n",
@@ -114,14 +112,29 @@
},
{
"cell_type": "code",
- "execution_count": 3,
+ "execution_count": 7,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-us-core-specimen.yml***********\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-sex.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-specimen.yml***********\n",
"☞ ☞ ☞ Type = Specimen\n",
"☞ ☞ ☞ element 0: Specimen\n",
"❗❗❗ done with element\n",
@@ -129,98 +142,141 @@
"☞ ☞ ☞ element 1: Specimen.identifier\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Specimen.accessionIdentifier\n",
- "❗❗❗ done with element\n",
- "----------\n",
- "☞ ☞ ☞ element 3: Specimen.type\n",
+ "☞ ☞ ☞ element 2: Specimen.type\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Specimen.subject\n",
+ "☞ ☞ ☞ element 3: Specimen.subject\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Specimen.collection\n",
+ "☞ ☞ ☞ element 4: Specimen.collection\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Specimen.collection.bodySite\n",
+ "☞ ☞ ☞ element 5: Specimen.collection.bodySite\n",
"❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Specimen.condition\n",
+ "☞ ☞ ☞ element 6: Specimen.condition\n",
"❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-us-core-medicationrequest-compliance-extension.yml***********\n",
- "☞ ☞ ☞ Type = Extension\n",
- "☞ ☞ ☞ element 0: Extension\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-pregnancystatus.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Extension.extension\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Extension.extension:medicationAdherence\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Extension.extension:medicationAdherence.url\n",
+ "☞ ☞ ☞ element 3: Observation.category:SocialHistory\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Extension.extension:medicationAdherence.value[x]\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Extension.extension:dateAsserted\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Extension.extension:dateAsserted.url\n",
+ "☞ ☞ ☞ element 6: Observation.effectiveDateTime\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Extension.extension:dateAsserted.value[x]\n",
+ "☞ ☞ ☞ element 7: Observation.valueCodeableConcept\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: Extension.extension:informationSource\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-occupation.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: Extension.extension:informationSource.url\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: Extension.extension:informationSource.value[x]\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 11: Extension.url\n",
+ "☞ ☞ ☞ element 3: Observation.category:socialhistory\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 12: Extension.value[x]\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.effectivePeriod\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.valueCodeableConcept\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.component\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.component:industry\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.component:industry.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.component:industry.valueCodeableConcept\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml***********\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-sexual-orientation.yml***********\n",
"☞ ☞ ☞ Type = Observation\n",
"☞ ☞ ☞ element 0: Observation\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Observation.category:us-core\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
"❗❗❗ done with element\n",
"----------\n",
"☞ ☞ ☞ element 2: Observation.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Observation.derivedFrom\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 3: Observation.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.effective[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueCodeableConcept\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-birthsex.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml***********\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml***********\n",
"☞ ☞ ☞ Type = Observation\n",
"☞ ☞ ☞ element 0: Observation\n",
"❗❗❗ done with element\n",
@@ -233,325 +289,2275 @@
"----------\n",
"☞ ☞ ☞ element 3: Observation.derivedFrom\n",
"❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-us-core-location.yml***********\n",
- "☞ ☞ ☞ Type = Location\n",
- "☞ ☞ ☞ element 0: Location\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-careplan.yml***********\n",
+ "☞ ☞ ☞ Type = CarePlan\n",
+ "☞ ☞ ☞ element 0: CarePlan\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Location.identifier\n",
+ "☞ ☞ ☞ element 1: CarePlan.text\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Location.status\n",
+ "☞ ☞ ☞ element 2: CarePlan.text.status\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Location.name\n",
+ "☞ ☞ ☞ element 3: CarePlan.text.div\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Location.type\n",
+ "☞ ☞ ☞ element 4: CarePlan.status\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Location.telecom\n",
+ "☞ ☞ ☞ element 5: CarePlan.intent\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Location.address\n",
+ "☞ ☞ ☞ element 6: CarePlan.category\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Location.address.line\n",
+ "☞ ☞ ☞ element 7: CarePlan.category:AssessPlan\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: Location.address.city\n",
+ "☞ ☞ ☞ element 8: CarePlan.subject\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: Location.address.state\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-diagnosticreport-note.yml***********\n",
+ "☞ ☞ ☞ Type = DiagnosticReport\n",
+ "☞ ☞ ☞ element 0: DiagnosticReport\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: Location.address.postalCode\n",
+ "☞ ☞ ☞ element 1: DiagnosticReport.status\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 11: Location.managingOrganization\n",
+ "☞ ☞ ☞ element 2: DiagnosticReport.category\n",
"❗❗❗ done with element\n",
"----------\n",
- "❗❗❗ done with SD\n",
- "----------------------------------------\n",
- "\n",
- "\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-uscore-medicationstatement.yml***********\n",
- "☞ ☞ ☞ Type = MedicationStatement\n",
- "☞ ☞ ☞ element 0: MedicationStatement\n",
+ "☞ ☞ ☞ element 3: DiagnosticReport.category:us-core\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: DiagnosticReport.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: DiagnosticReport.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: DiagnosticReport.encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: DiagnosticReport.effective[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: DiagnosticReport.issued\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: DiagnosticReport.performer\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: DiagnosticReport.result\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 1: MedicationStatement.extension:med-adherence\n",
+ "☞ ☞ ☞ element 11: DiagnosticReport.media\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: MedicationStatement.basedOn\n",
+ "☞ ☞ ☞ element 12: DiagnosticReport.media.link\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: MedicationStatement.status\n",
+ "☞ ☞ ☞ element 13: DiagnosticReport.presentedForm\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: MedicationStatement.medication[x]\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-provenance.yml***********\n",
+ "☞ ☞ ☞ Type = Provenance\n",
+ "☞ ☞ ☞ element 0: Provenance\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: MedicationStatement.subject\n",
+ "☞ ☞ ☞ element 1: Provenance.target\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: MedicationStatement.effective[x]\n",
+ "☞ ☞ ☞ element 2: Provenance.target.reference\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: MedicationStatement.dateAsserted\n",
+ "☞ ☞ ☞ element 3: Provenance.recorded\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: MedicationStatement.informationSource\n",
+ "☞ ☞ ☞ element 4: Provenance.agent\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: MedicationStatement.reasonCode\n",
+ "☞ ☞ ☞ element 5: Provenance.agent.type\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: MedicationStatement.reasonReference\n",
+ "☞ ☞ ☞ element 6: Provenance.agent.who\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 11: MedicationStatement.dosage\n",
+ "☞ ☞ ☞ element 7: Provenance.agent.onBehalfOf\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 12: MedicationStatement.dosage.text\n",
+ "☞ ☞ ☞ element 8: Provenance.agent:ProvenanceAuthor\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 13: MedicationStatement.dosage.timing\n",
+ "☞ ☞ ☞ element 9: Provenance.agent:ProvenanceAuthor.type\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 14: MedicationStatement.dosage.doseAndRate\n",
+ "☞ ☞ ☞ element 10: Provenance.agent:ProvenanceTransmitter\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 15: MedicationStatement.dosage.doseAndRate.dose[x]\n",
+ "☞ ☞ ☞ element 11: Provenance.agent:ProvenanceTransmitter.type\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-us-core-patient.yml***********\n",
- "☞ ☞ ☞ Type = Patient\n",
- "☞ ☞ ☞ element 0: Patient\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-blood-pressure.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Patient.extension:race\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Patient.extension:ethnicity\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 2: Observation.component\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Patient.extension:tribalAffiliation\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 3: Observation.component:systolic\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Patient.extension:birthsex\n",
+ "☞ ☞ ☞ element 4: Observation.component:systolic.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Patient.extension:sex\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 5: Observation.component:systolic.valueQuantity\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Patient.extension:genderIdentity\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 6: Observation.component:systolic.valueQuantity.value\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Patient.identifier\n",
+ "☞ ☞ ☞ element 7: Observation.component:systolic.valueQuantity.unit\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: Patient.identifier.system\n",
+ "☞ ☞ ☞ element 8: Observation.component:systolic.valueQuantity.system\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: Patient.identifier.value\n",
+ "☞ ☞ ☞ element 9: Observation.component:systolic.valueQuantity.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: Patient.name\n",
+ "☞ ☞ ☞ element 10: Observation.component:diastolic\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 11: Patient.name.use\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 11: Observation.component:diastolic.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 12: Patient.name.family\n",
+ "☞ ☞ ☞ element 12: Observation.component:diastolic.valueQuantity\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 13: Patient.name.given\n",
+ "☞ ☞ ☞ element 13: Observation.component:diastolic.valueQuantity.value\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 14: Patient.name.suffix\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 14: Observation.component:diastolic.valueQuantity.unit\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 15: Patient.name.period\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 15: Observation.component:diastolic.valueQuantity.system\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 16: Patient.telecom\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the short element from the base\n",
+ "☞ ☞ ☞ element 16: Observation.component:diastolic.valueQuantity.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 17: Patient.telecom.system\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-condition-encounter-diagnosis.yml***********\n",
+ "☞ ☞ ☞ Type = Condition\n",
+ "☞ ☞ ☞ element 0: Condition\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 18: Patient.telecom.value\n",
+ "☞ ☞ ☞ element 1: Condition.extension:assertedDate\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 19: Patient.telecom.use\n",
+ "☞ ☞ ☞ element 2: Condition.clinicalStatus\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 20: Patient.gender\n",
+ "☞ ☞ ☞ element 3: Condition.verificationStatus\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 21: Patient.birthDate\n",
+ "☞ ☞ ☞ element 4: Condition.category\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 22: Patient.deceased[x]\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the short element from the base\n",
+ "☞ ☞ ☞ element 5: Condition.category:us-core\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 23: Patient.address\n",
+ "☞ ☞ ☞ element 6: Condition.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 24: Patient.address.use\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "☞ ☞ ☞ element 7: Condition.subject\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 25: Patient.address.line\n",
+ "☞ ☞ ☞ element 8: Condition.encounter\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 26: Patient.address.city\n",
+ "☞ ☞ ☞ element 9: Condition.onset[x]\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 27: Patient.address.state\n",
+ "☞ ☞ ☞ element 10: Condition.abatement[x]\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 28: Patient.address.postalCode\n",
+ "☞ ☞ ☞ element 11: Condition.recordedDate\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 29: Patient.address.period\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-heart-rate.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 30: Patient.communication\n",
- "❗❗❗add the USCDI extension\n",
- "❗❗❗add the short element from the base\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 31: Patient.communication.language\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml***********\n",
- "☞ ☞ ☞ Type = Observation\n",
- "☞ ☞ ☞ element 0: Observation\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medication.yml***********\n",
+ "☞ ☞ ☞ Type = Medication\n",
+ "☞ ☞ ☞ element 0: Medication\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Observation.code\n",
+ "☞ ☞ ☞ element 1: Medication.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Observation.effective[x]\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-coverage.yml***********\n",
+ "☞ ☞ ☞ Type = Coverage\n",
+ "☞ ☞ ☞ element 0: Coverage\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Observation.component\n",
+ "☞ ☞ ☞ element 1: Coverage.identifier\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Observation.component:systolic\n",
+ "☞ ☞ ☞ element 2: Coverage.identifier:memberid\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Observation.component:systolic.code\n",
+ "☞ ☞ ☞ element 3: Coverage.identifier:memberid.type\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Observation.component:systolic.valueQuantity\n",
+ "☞ ☞ ☞ element 4: Coverage.status\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Observation.component:systolic.valueQuantity.value\n",
+ "☞ ☞ ☞ element 5: Coverage.type\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: Observation.component:systolic.valueQuantity.unit\n",
+ "☞ ☞ ☞ element 6: Coverage.subscriberId\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: Observation.component:systolic.valueQuantity.system\n",
+ "☞ ☞ ☞ element 7: Coverage.beneficiary\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: Observation.component:systolic.valueQuantity.code\n",
+ "☞ ☞ ☞ element 8: Coverage.relationship\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 11: Observation.component:diastolic\n",
+ "☞ ☞ ☞ element 9: Coverage.period\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 12: Observation.component:diastolic.code\n",
+ "☞ ☞ ☞ element 10: Coverage.payor\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 13: Observation.component:diastolic.valueQuantity\n",
+ "☞ ☞ ☞ element 11: Coverage.class\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 14: Observation.component:diastolic.valueQuantity.value\n",
+ "☞ ☞ ☞ element 12: Coverage.class:group\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 15: Observation.component:diastolic.valueQuantity.unit\n",
+ "☞ ☞ ☞ element 13: Coverage.class:group.type\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 16: Observation.component:diastolic.valueQuantity.system\n",
+ "☞ ☞ ☞ element 14: Coverage.class:group.value\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 17: Observation.component:diastolic.valueQuantity.code\n",
+ "☞ ☞ ☞ element 15: Coverage.class:group.name\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Coverage.class:plan\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Coverage.class:plan.type\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: Coverage.class:plan.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: Coverage.class:plan.name\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml***********\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-pediatric-weight-for-height.yml***********\n",
"☞ ☞ ☞ Type = Observation\n",
- "☞ ☞ ☞ element 0: Observation.category:us-core\n",
+ "☞ ☞ ☞ element 0: Observation\n",
"❗❗❗ done with element\n",
"----------\n",
"☞ ☞ ☞ element 1: Observation.code\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Observation.value[x]\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Observation.interpretation\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Observation.specimen\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Observation.referenceRange\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
- "\n"
- ]
- }
- ],
- "source": [
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-questionnaireresponse.yml***********\n",
+ "☞ ☞ ☞ Type = QuestionnaireResponse\n",
+ "☞ ☞ ☞ element 0: QuestionnaireResponse\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: QuestionnaireResponse.questionnaire\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: QuestionnaireResponse.questionnaire.extension:url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: QuestionnaireResponse.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: QuestionnaireResponse.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: QuestionnaireResponse.authored\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: QuestionnaireResponse.author\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: QuestionnaireResponse.item\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: QuestionnaireResponse.item.linkId\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: QuestionnaireResponse.item.answer.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.category:us-core\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.derivedFrom\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-implantable-device.yml***********\n",
+ "☞ ☞ ☞ Type = Device\n",
+ "☞ ☞ ☞ element 0: Device\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Device.udiCarrier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Device.udiCarrier.deviceIdentifier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Device.udiCarrier.carrierHRF\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Device.distinctIdentifier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Device.manufactureDate\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Device.expirationDate\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Device.lotNumber\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Device.serialNumber\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Device.type\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Device.patient\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-head-occipital-frontal-circumference-percentile.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-direct.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-location.yml***********\n",
+ "☞ ☞ ☞ Type = Location\n",
+ "☞ ☞ ☞ element 0: Location\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Location.identifier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Location.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Location.name\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Location.type\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Location.telecom\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Location.address\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Location.address.line\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Location.address.city\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Location.address.state\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Location.address.postalCode\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Location.managingOrganization\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-head-circumference.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-pulse-oximetry.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.code.coding\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.code.coding:PulseOx\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code.coding:O2Sat\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.component\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.component:FlowRate\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Observation.component:FlowRate.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Observation.component:FlowRate.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Observation.component:FlowRate.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Observation.component:FlowRate.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Observation.component:FlowRate.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Observation.component:FlowRate.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: Observation.component:Concentration\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: Observation.component:Concentration.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 20: Observation.component:Concentration.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 21: Observation.component:Concentration.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 22: Observation.component:Concentration.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 23: Observation.component:Concentration.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 24: Observation.component:Concentration.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-servicerequest.yml***********\n",
+ "☞ ☞ ☞ Type = ServiceRequest\n",
+ "☞ ☞ ☞ element 0: ServiceRequest\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: ServiceRequest.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: ServiceRequest.intent\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: ServiceRequest.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: ServiceRequest.category:us-core\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: ServiceRequest.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: ServiceRequest.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: ServiceRequest.encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: ServiceRequest.occurrence[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: ServiceRequest.authoredOn\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: ServiceRequest.requester\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: ServiceRequest.reasonCode\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: ServiceRequest.reasonReference\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.extension:medicationAdherence\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.extension:medicationAdherence.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Extension.extension:medicationAdherence.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Extension.extension:dateAsserted\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Extension.extension:dateAsserted.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Extension.extension:dateAsserted.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Extension.extension:informationSource\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Extension.extension:informationSource.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Extension.extension:informationSource.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-bmi.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-immunization.yml***********\n",
+ "☞ ☞ ☞ Type = Immunization\n",
+ "☞ ☞ ☞ element 0: Immunization\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Immunization.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Immunization.statusReason\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Immunization.vaccineCode\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Immunization.patient\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Immunization.encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Immunization.occurrence[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Immunization.primarySource\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Immunization.location\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-practitionerrole.yml***********\n",
+ "☞ ☞ ☞ Type = PractitionerRole\n",
+ "☞ ☞ ☞ element 0: PractitionerRole\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: PractitionerRole.practitioner\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: PractitionerRole.organization\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: PractitionerRole.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: PractitionerRole.specialty\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: PractitionerRole.location\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: PractitionerRole.healthcareService\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: PractitionerRole.telecom\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: PractitionerRole.telecom.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: PractitionerRole.telecom.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: PractitionerRole.endpoint\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-patient.yml***********\n",
+ "☞ ☞ ☞ Type = Patient\n",
+ "☞ ☞ ☞ element 0: Patient\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Patient.extension:race\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Patient.extension:ethnicity\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Patient.extension:tribalAffiliation\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Patient.extension:birthsex\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Patient.extension:sex\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Patient.extension:genderIdentity\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Patient.identifier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Patient.identifier.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Patient.identifier.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Patient.name\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Patient.name.use\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.name.use\n",
+ "parent_element_path = Patient.name datatype_element_path = use\n",
+ "datatype = HumanName\n",
+ "type = HumanName, path = HumanName.use\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Patient.name.family\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Patient.name.given\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Patient.name.suffix\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.name.suffix\n",
+ "parent_element_path = Patient.name datatype_element_path = suffix\n",
+ "datatype = HumanName\n",
+ "type = HumanName, path = HumanName.suffix\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Patient.name.period\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.name.period\n",
+ "parent_element_path = Patient.name datatype_element_path = period\n",
+ "datatype = HumanName\n",
+ "type = HumanName, path = HumanName.period\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Patient.telecom\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Patient.telecom.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: Patient.telecom.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: Patient.telecom.use\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 20: Patient.gender\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 21: Patient.birthDate\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 22: Patient.deceased[x]\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 23: Patient.address\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 24: Patient.address.use\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.address.use\n",
+ "parent_element_path = Patient.address datatype_element_path = use\n",
+ "datatype = Address\n",
+ "type = Address, path = Address.use\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 25: Patient.address.line\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 26: Patient.address.city\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 27: Patient.address.state\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 28: Patient.address.postalCode\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 29: Patient.address.period\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.address.period\n",
+ "parent_element_path = Patient.address datatype_element_path = period\n",
+ "datatype = Address\n",
+ "type = Address, path = Address.period\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 30: Patient.communication\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 31: Patient.communication.language\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-tribal-affiliation.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.extension:tribalAffiliation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.extension:tribalAffiliation.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Extension.extension:tribalAffiliation.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Extension.extension:isEnrolled\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Extension.extension:isEnrolled.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Extension.extension:isEnrolled.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-race.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.extension:ombCategory\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.extension:ombCategory.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Extension.extension:ombCategory.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Extension.extension:detailed\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Extension.extension:detailed.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Extension.extension:detailed.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Extension.extension:text\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Extension.extension:text.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Extension.extension:text.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-allergyintolerance.yml***********\n",
+ "☞ ☞ ☞ Type = AllergyIntolerance\n",
+ "☞ ☞ ☞ element 0: AllergyIntolerance\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: AllergyIntolerance.clinicalStatus\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: AllergyIntolerance.verificationStatus\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: AllergyIntolerance.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: AllergyIntolerance.patient\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: AllergyIntolerance.reaction\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: AllergyIntolerance.reaction.manifestation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-organization.yml***********\n",
+ "☞ ☞ ☞ Type = Organization\n",
+ "☞ ☞ ☞ element 0: Organization\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Organization.identifier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Organization.identifier.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Organization.identifier.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Organization.identifier:NPI\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Organization.identifier:CLIA\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Organization.identifier:NAIC\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Organization.active\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Organization.name\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Organization.telecom\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Organization.telecom.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Organization.telecom.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Organization.address\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Organization.address.line\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Organization.address.city\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Organization.address.state\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Organization.address.postalCode\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Organization.address.country\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-uscdi-requirements.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medicationrequest.yml***********\n",
+ "☞ ☞ ☞ Type = MedicationRequest\n",
+ "☞ ☞ ☞ element 0: MedicationRequest\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: MedicationRequest.extension:medicationAdherence\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: MedicationRequest.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: MedicationRequest.intent\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: MedicationRequest.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: MedicationRequest.category:us-core\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: MedicationRequest.reported[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: MedicationRequest.medication[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: MedicationRequest.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: MedicationRequest.encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: MedicationRequest.authoredOn\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: MedicationRequest.requester\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: MedicationRequest.reasonCode\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: MedicationRequest.reasonReference\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: MedicationRequest.dosageInstruction\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: MedicationRequest.dosageInstruction.text\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: MedicationRequest.dosageInstruction.timing\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: MedicationRequest.dosageInstruction.doseAndRate\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: MedicationRequest.dosageInstruction.doseAndRate.dose[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: MedicationRequest.dispenseRequest\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 20: MedicationRequest.dispenseRequest.numberOfRepeatsAllowed\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 21: MedicationRequest.dispenseRequest.quantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-ethnicity.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.extension:ombCategory\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.extension:ombCategory.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Extension.extension:ombCategory.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Extension.extension:detailed\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Extension.extension:detailed.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Extension.extension:detailed.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Extension.extension:text\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Extension.extension:text.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Extension.extension:text.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.effective[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.component\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.component:systolic\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.component:systolic.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.component:systolic.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.component:systolic.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.component:systolic.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.component:systolic.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.component:systolic.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.component:diastolic\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Observation.component:diastolic.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Observation.component:diastolic.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Observation.component:diastolic.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Observation.component:diastolic.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Observation.component:diastolic.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Observation.component:diastolic.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-vital-signs.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:VSCat\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.category:VSCat.coding\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.category:VSCat.coding.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.category:VSCat.coding.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.effective[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.dataAbsentReason\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Observation.component\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Observation.component.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Observation.component.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Observation.component.dataAbsentReason\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-simple-observation.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:us-core\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.effective[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.performer\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.derivedFrom\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation.category:us-core\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.interpretation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.specimen\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.referenceRange\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medicationdispense.yml***********\n",
+ "☞ ☞ ☞ Type = MedicationDispense\n",
+ "☞ ☞ ☞ element 0: MedicationDispense\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: MedicationDispense.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: MedicationDispense.medication[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: MedicationDispense.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: MedicationDispense.context\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: MedicationDispense.performer\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: MedicationDispense.performer.actor\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: MedicationDispense.authorizingPrescription\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: MedicationDispense.type\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: MedicationDispense.quantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: MedicationDispense.whenHandedOver\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: MedicationDispense.dosageInstruction\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: MedicationDispense.dosageInstruction.text\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: MedicationDispense.dosageInstruction.timing\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: MedicationDispense.dosageInstruction.doseAndRate\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: MedicationDispense.dosageInstruction.doseAndRate.dose[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-careteam.yml***********\n",
+ "☞ ☞ ☞ Type = CareTeam\n",
+ "☞ ☞ ☞ element 0: CareTeam\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: CareTeam.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: CareTeam.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: CareTeam.participant\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: CareTeam.participant.role\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: CareTeam.participant.member\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-genderidentity.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-procedure.yml***********\n",
+ "☞ ☞ ☞ Type = Procedure\n",
+ "☞ ☞ ☞ element 0: Procedure\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Procedure.basedOn\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Procedure.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Procedure.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Procedure.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Procedure.encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Procedure.performed[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-documentreference.yml***********\n",
+ "☞ ☞ ☞ Type = DocumentReference\n",
+ "☞ ☞ ☞ element 0: DocumentReference\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: DocumentReference.identifier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: DocumentReference.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: DocumentReference.type\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: DocumentReference.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: DocumentReference.category:uscore\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the short element from the base\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: DocumentReference.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: DocumentReference.date\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: DocumentReference.author\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: DocumentReference.content\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: DocumentReference.content.attachment\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: DocumentReference.content.attachment.contentType\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: DocumentReference.content.attachment.data\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: DocumentReference.content.attachment.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: DocumentReference.content.format\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: DocumentReference.context\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: DocumentReference.context.encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: DocumentReference.context.period\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-jurisdiction.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-clinical-result.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:us-core\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.effective[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.dataAbsentReason\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-height.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-encounter.yml***********\n",
+ "☞ ☞ ☞ Type = Encounter\n",
+ "☞ ☞ ☞ element 0: Encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Encounter.identifier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Encounter.identifier.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Encounter.identifier.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Encounter.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Encounter.class\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Encounter.type\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Encounter.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Encounter.participant\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Encounter.participant.type\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Encounter.participant.period\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Encounter.participant.individual\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Encounter.period\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Encounter.reasonCode\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Encounter.reasonReference\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Encounter.hospitalization\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Encounter.hospitalization.dischargeDisposition\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Encounter.location\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: Encounter.location.location\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: Encounter.serviceProvider\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-temperature.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-smokingstatus.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:SocialHistory\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.effectiveDateTime\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-weight.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-respiratory-rate.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-diagnosticreport-lab.yml***********\n",
+ "☞ ☞ ☞ Type = DiagnosticReport\n",
+ "☞ ☞ ☞ element 0: DiagnosticReport\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: DiagnosticReport.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: DiagnosticReport.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: DiagnosticReport.category:LaboratorySlice\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: DiagnosticReport.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: DiagnosticReport.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: DiagnosticReport.encounter\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: DiagnosticReport.effective[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: DiagnosticReport.issued\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: DiagnosticReport.performer\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: DiagnosticReport.result\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-extension-questionnaire-uri.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-pregnancyintent.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:SocialHistory\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.effectiveDateTime\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.valueCodeableConcept\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-relatedperson.yml***********\n",
+ "☞ ☞ ☞ Type = RelatedPerson\n",
+ "☞ ☞ ☞ element 0: RelatedPerson\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: RelatedPerson.active\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: RelatedPerson.patient\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: RelatedPerson.relationship\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: RelatedPerson.name\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: RelatedPerson.telecom\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: RelatedPerson.address\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-condition-problems-health-concerns.yml***********\n",
+ "☞ ☞ ☞ Type = Condition\n",
+ "☞ ☞ ☞ element 0: Condition\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Condition.extension:assertedDate\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Condition.clinicalStatus\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Condition.verificationStatus\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Condition.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Condition.category:us-core\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Condition.category:screening-assessment\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Condition.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Condition.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Condition.onset[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Condition.abatement[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Condition.recordedDate\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-goal.yml***********\n",
+ "☞ ☞ ☞ Type = Goal\n",
+ "☞ ☞ ☞ element 0: Goal\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Goal.lifecycleStatus\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Goal.description\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Goal.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Goal.start[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Goal.target\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Goal.target.due[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-practitioner.yml***********\n",
+ "☞ ☞ ☞ Type = Practitioner\n",
+ "☞ ☞ ☞ element 0: Practitioner\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Practitioner.identifier\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Practitioner.identifier.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Practitioner.identifier.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Practitioner.identifier:NPI\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Practitioner.name\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Practitioner.name.family\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Practitioner.telecom\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Practitioner.telecom.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Practitioner.telecom.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Practitioner.address\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Practitioner.address.line\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Practitioner.address.city\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Practitioner.address.state\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Practitioner.address.postalCode\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Practitioner.address.country\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-pediatric-bmi-for-age.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-screening-assessment.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:survey\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.category:screening-assessment\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.code\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.subject\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.effective[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.performer\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.value[x]\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.dataAbsentReason\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.hasMember\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Observation.derivedFrom\n",
+ "❗❗❗add the USCDI extension\n",
+ "❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n"
+ ]
+ }
+ ],
+ "source": [
+ "def get_shorty(r_type, element_path):\n",
+ " for sd_base in R4_path.glob(f'StructureDefinition*-{r_type}.json'):\n",
+ " try:\n",
+ " r_base = loads(sd_base.read_text())\n",
+ " except Exception as e:\n",
+ " print(\"Exception: {}\".format(type(e).__name__))\n",
+ " print(\"Exception message: {}\".format(e))\n",
+ " # print(f\"======{sd_base}, {r_base['type']}======\")\n",
+ " for element in r_base['differential']['element']:\n",
+ " if element['id'] == element_path:\n",
+ " return element['short']\n",
+ " \n",
+ " print(f'❗❗❗element not found in base SD - look at the datatype in the path {element_path}')\n",
+ " #use the penultimate element in element_path to find the datatype in the base SD\n",
+ " parent_element_path = element_path.rsplit('.', 1)[0]\n",
+ " #use the last two element in element_path to find the datatype element in the base SD\n",
+ " datatype_element_path = element_path.split('.', )[-1]\n",
+ "\n",
+ " print(f\"parent_element_path = {parent_element_path} datatype_element_path = {datatype_element_path}\")\n",
+ "\n",
+ " #get the datatype\n",
+ " for element in r_base['differential']['element']:\n",
+ " if element['id'] == parent_element_path:\n",
+ " for type in element['type']:\n",
+ " print(f\"datatype = {type['code']}\")\n",
+ " #get the datatype SD short and compare to the shorty\n",
+ " path = f\"{type['code']}.{datatype_element_path}\"\n",
+ " print(f\"type = {type['code']}, path = {path}\")\n",
+ " return get_shorty(type['code'], (f\"{type['code']}.{datatype_element_path}\"),)\n",
+ "\n",
+ "\n",
+ "\n",
"# read StructureDefinitions from resources-yaml folder using pathlib\n",
"for sd in in_path.glob('Struct*.yml'):\n",
" print(f\"***********{sd}***********\")\n",
@@ -564,15 +2570,18 @@
" if element['id'] in addl_uscdi_elements:\n",
" print('❗❗❗add the USCDI extension')\n",
" r_copy['differential']['element'][i][\"extension\"] = [{\n",
- " \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi\",\n",
+ " \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement\",\n",
" \"valueBoolean\": True\n",
" }]\n",
" if 'short' in element.keys():\n",
- " print(\"❗❗❗add the '𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\")\n",
- " r_copy['differential']['element'][i][\"short\"] = f\"𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜: {element['short']}\"\n",
+ " shorty = element['short']\n",
" else:\n",
" print(\"❗❗❗add the short element from the base\")\n",
+ " shorty = get_shorty(r['type'], element['path'])\n",
"\n",
+ " print(\"❗❗❗add the '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜:' tag to short\")\n",
+ " r_copy['differential']['element'][i][\"short\"] = f\"𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: {shorty}\"\n",
+ " \n",
" print('❗❗❗ done with element')\n",
" print('-'*10)\n",
"\n",
@@ -596,13 +2605,14 @@
},
{
"cell_type": "code",
- "execution_count": 4,
+ "execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
- "##### DO THIS ONLY when you want to start over with removing all tags because it overwrites the original source folder ####\n",
+ "%%bash -s \"$in_path\" \"$out_path\"\n",
+ "##### DO THIS ONLY when you want to overwrite resources-yaml folder with resources-yaml-copy ####\n",
"\n",
- "#!cp /Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-copy/Struct*.yml /Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml"
+ "cp $2/Struct*.yml $1"
]
}
],
diff --git a/fsh-generated/includes/fsh-link-references.md b/fsh-generated/includes/fsh-link-references.md
index 670097c8..3b656f94 100644
--- a/fsh-generated/includes/fsh-link-references.md
+++ b/fsh-generated/includes/fsh-link-references.md
@@ -25,6 +25,7 @@
[medication-adherence-oral-axid]: Observation-medication-adherence-oral-axid.html
[medication-adherence-oral-axid-boolean]: Observation-medication-adherence-oral-axid-boolean.html
[medication-adherence-self-tylenol]: Observation-medication-adherence-self-tylenol.html
+[defib-implant]: Procedure-defib-implant.html
[serum-glucose]: Observation-serum-glucose.html
[substance-use-status]: Observation-substance-use-status.html
[TAPS-item-example-75889-6]: Observation-TAPS-item-example-75889-6.html
@@ -45,6 +46,7 @@
[USCoreMedicationstatementStatus]: ValueSet-uscore-medicationstatement-status.html
[USCoreMedicationStatement]: StructureDefinition-us-core-medicationstatement.html
[USCorePatientProfile]: StructureDefinition-us-core-patient.html
+[USCoreProcedureProfile]: StructureDefinition-us-core-procedure.html
[USCoreSpecimenProfile]: StructureDefinition-us-core-specimen.html
[USCoreTreatmentInterventionPreferenceCodeSystem]: CodeSystem-uscore-treatment-intervention-preference.html
[USCoreTreatmentInterventionPreferenceProfile]: StructureDefinition-us-core-treatment-intervention-preference.html
diff --git a/fsh-generated/includes/menu.xml b/fsh-generated/includes/menu.xml
index fba11d4d..c018cb67 100644
--- a/fsh-generated/includes/menu.xml
+++ b/fsh-generated/includes/menu.xml
@@ -16,6 +16,9 @@
General Guidance
+
+ Future
+
Screening and Assessments
diff --git a/fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json b/fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json
index 90d7f736..3e50f91a 100644
--- a/fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json
+++ b/fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json
@@ -217,7 +217,7 @@
},
"description": "This is an example hospital location for the *US Core Location Profile*.",
"name": "Hospital Location",
- "exampleCanonical": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-location"
+ "exampleBoolean": true
},
{
"reference": {
@@ -275,13 +275,21 @@
"name": "Observation Medication Adherence Self Tylenol (OTC) Example",
"exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation"
},
+ {
+ "reference": {
+ "reference": "Procedure/defib-implant"
+ },
+ "description": "This *US Core Procedure Profile* is an example of an Defibrillator implant Procedure. In this example, the reason for a referral is communicated through `Procedure.code'.",
+ "name": "Procedure Defibrillator Implant Example",
+ "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"
+ },
{
"reference": {
"reference": "Observation/serum-glucose"
},
"description": "This is a serum glucose example for the *US Core Observation Lab Profile*.",
"name": "Serum Glucose Example",
- "exampleCanonical": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-observation-lab"
+ "exampleBoolean": true
},
{
"reference": {
@@ -407,7 +415,7 @@
"reference": {
"reference": "StructureDefinition/us-core-medication-adherence"
},
- "description": "A MedicationRequest extension representing whether the medication is or is not being consumed or administered.",
+ "description": "A MedicationRequest extension representing reported adherence to prescribed medication instructions. In other words, whether a medication was consumed according to instructions.",
"exampleBoolean": false,
"name": "US Core Medication Adherence Extension"
},
@@ -435,6 +443,14 @@
"exampleBoolean": false,
"name": "US Core Patient Profile"
},
+ {
+ "reference": {
+ "reference": "StructureDefinition/us-core-procedure"
+ },
+ "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 and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.",
+ "exampleBoolean": false,
+ "name": "US Core Procedure Profile"
+ },
{
"reference": {
"reference": "StructureDefinition/us-core-specimen"
@@ -484,6 +500,18 @@
}
]
},
+ {
+ "nameUrl": "future.html",
+ "title": "Futures Page Mock UP",
+ "generation": "markdown",
+ "page": [
+ {
+ "nameUrl": "fhir-write.html",
+ "title": "FHIR Write Guidance for Vital Sign Observations",
+ "generation": "markdown"
+ }
+ ]
+ },
{
"nameUrl": "guidance.html",
"title": "Guidance",
diff --git a/input/data/additional-uscdi-requirements.csv b/input/data/additional-uscdi-requirements.csv
index 80405e5c..860e0a88 100644
--- a/input/data/additional-uscdi-requirements.csv
+++ b/input/data/additional-uscdi-requirements.csv
@@ -13,6 +13,8 @@ Previous Name,[US Core Patient Profile],Patient.name.use or Patient.name.period
Suffix,[US Core Patient Profile],Patient.name.suffix
A Reason Or Indication For Referral Or Consultation,[US Core ServiceRequest Profile],ServiceRequest.reasonCode
A Reason Or Indication For Referral Or Consultation,[US Core ServiceRequest Profile],ServiceRequest.reasonReference
+A Reason Or Indication For Referral Or Consultation,[US Core Procedure Profile],Procedure.reasonCode
+A Reason Or Indication For Referral Or Consultation,[US Core Procedure Profile],Procedure.reasonReference
The Reason Or Indication For The Prescription,[US Core MedicationRequest Profile],MedicationRequest.reasonCode
The Reason Or Indication For The Prescription,[US Core MedicationRequest Profile],MedicationRequest.reasonReference
Medication Adherence,[US Core MedicationRequest Profile],MedicationRequest.extension:medicationAdherence
diff --git a/input/data/ig.yml b/input/data/ig.yml
index 4a835435..67ff5427 100644
--- a/input/data/ig.yml
+++ b/input/data/ig.yml
@@ -175,7 +175,7 @@ definition:
reference: Location/hospital
description: This is an example hospital location for the *US Core Location Profile*.
name: Hospital Location
- exampleCanonical: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-location
+ exampleBoolean: true
- reference:
reference: MedicationRequest/coded-oral-axid-with-compliance
description: This example demonstrates medication adherence for a prescribed medication
@@ -226,12 +226,19 @@ definition:
is reference using the basedOn element.
name: Observation Medication Adherence Self Tylenol (OTC) Example
exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation
+ - reference:
+ reference: Procedure/defib-implant
+ description: This *US Core Procedure Profile* is an example of an Defibrillator
+ implant Procedure. In this example, the reason for a referral is communicated
+ through `Procedure.code'.
+ name: Procedure Defibrillator Implant Example
+ exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
- reference:
reference: Observation/serum-glucose
description: This is a serum glucose example for the *US Core Observation Lab
Profile*.
name: Serum Glucose Example
- exampleCanonical: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-observation-lab
+ exampleBoolean: true
- reference:
reference: Observation/substance-use-status
description: This is an Substance-use-status example for the *Simple Observation
@@ -366,8 +373,9 @@ definition:
name: US Core Location Profile
- reference:
reference: StructureDefinition/us-core-medication-adherence
- description: A MedicationRequest extension representing whether the medication
- is or is not being consumed or administered.
+ description: A MedicationRequest extension representing reported adherence to
+ prescribed medication instructions. In other words, whether a medication was
+ consumed according to instructions.
exampleBoolean: false
name: US Core Medication Adherence Extension
- reference:
@@ -407,6 +415,18 @@ definition:
for standards development for specific use cases.
exampleBoolean: false
name: US Core Patient Profile
+ - reference:
+ reference: StructureDefinition/us-core-procedure
+ 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 and constrains the way the elements are used when using this
+ profile. It provides the floor for standards development for specific use cases.
+ exampleBoolean: false
+ name: US Core Procedure Profile
- reference:
reference: StructureDefinition/us-core-specimen
description: This profile sets minimum expectations for the Specimen resource
@@ -452,6 +472,13 @@ definition:
extension:
- url: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
valueCode: draft
+ - nameUrl: future.html
+ title: Futures Page Mock UP
+ generation: markdown
+ page:
+ - nameUrl: fhir-write.html
+ title: FHIR Write Guidance for Vital Sign Observations
+ generation: markdown
- nameUrl: guidance.html
title: Guidance
generation: markdown
diff --git a/input/data/uscdi-table.csv b/input/data/uscdi-table.csv
new file mode 100644
index 00000000..d2ce74b9
--- /dev/null
+++ b/input/data/uscdi-table.csv
@@ -0,0 +1,136 @@
+data_class_number,data_class,uscore_profile,data_element,resource_type,,extension,fhir_path,comment,comment_link
+1,Allergies and Intolerances,US Core AllergyIntolerance Profile,,,,,AllergyIntolerance,,
+,Allergies and Intolerances,US Core AllergyIntolerance Profile,Substance (Medication),AllergyIntolerance,AllergyIntolerance,,AllergyIntolerance.code,,
+,Allergies and Intolerances,US Core AllergyIntolerance Profile,Substance (Drug Class),AllergyIntolerance,AllergyIntolerance,,AllergyIntolerance.code,,
+,Allergies and Intolerances,US Core AllergyIntolerance Profile,Substance (Non-Medication),AllergyIntolerance,AllergyIntolerance,,AllergyIntolerance.code,,
+,Allergies and Intolerances,US Core AllergyIntolerance Profile,Reaction,AllergyIntolerance,AllergyIntolerance,,AllergyIntolerance.reaction,,
+2,Care Team Members,US Core CareTeam Profile,,,,,CareTeam.participant,,
+,Care Team Members,US Core Practitioner Profile| US Core Patient Profile| US Core RelatedPerson Profile,Name,CareTeam,CareTeam,,"Practitioner.name, RelatedPerson.name",,
+,Care Team Members,US Core Practitioner Profile| US Core Patient Profile,Identifier,CareTeam,CareTeam,,Practitioner.identifier,,
+,Care Team Members,US Core PractitionerRole Profile| US Core Practitioner Profile| US Core Patient Profile| US Core RelatedPerson Profile,Location,CareTeam,CareTeam,,"PractitionerRole.address, Practitioner.address, RelatedPerson.address",,
+,Care Team Members,US Core PractitionerRole Profile| US Core Practitioner Profile| US Core Patient Profile| US Core RelatedPerson Profile,Telecom,CareTeam,CareTeam,,"PractitionerRole.telecom, Practitioner.telecom, RelatedPerson.telecom",,
+,Care Team Members,US Core CareTeam Profile,Role,CareTeam,CareTeam,,CareTeam.participant.role,,
+3,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,,,,,"DocumentReference,DiagnosticReport",See Clinical Notes Guidance,clinical-notes.html
+,Clinical Notes,US Core DocumentReference Profile,Consultation Note,DocumentReference,DocumentReference,,DocumentReference,,
+,Clinical Notes,US Core DocumentReference Profile,Discharge Summary Note,DocumentReference,DocumentReference,,DocumentReference,,
+,Clinical Notes,US Core DocumentReference Profile,History & Physical,DocumentReference,DocumentReference,,DocumentReference,,
+,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,Imaging Narrative,DocumentReference | DiagnosticReport,DocumentReference | DiagnosticReport,,"DocumentReference,DiagnosticReport",,
+,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,Laboratory Report Narrative,DocumentReference | DiagnosticReport,DocumentReference | DiagnosticReport,,"DocumentReference,DiagnosticReport",,
+,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,Pathology Report Narrative,DocumentReference | DiagnosticReport,DocumentReference | DiagnosticReport,,"DocumentReference,DiagnosticReport",,
+,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,Procedure Note,DocumentReference | DiagnosticReport,DocumentReference | DiagnosticReport,,"DocumentReference,DiagnosticReport",,
+,Clinical Notes,US Core DocumentReference Profile,Progress Note,,,,DocumentReference,,
+4,Clinical Tests,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Clinical Tests,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",,
+,Clinical Tests,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Clinical Test,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",,
+,Clinical Tests,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Clinical Test Result/Report,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",,
+5,Diagnostic Imaging,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,,,,,"Observation, DiagnosticReport",,
+,Diagnostic Imaging,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Diagnostic Imaging Test,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",,
+,Diagnostic Imaging,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Diagnostic Imaging Result/Report,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",,
+6,Encounter,US Core Encounter Profile,,,,,Encounter,,
+,Encounter,US Core Encounter Profile,Identifier,Encounter,Encounter,,Encounter.identifier,,
+,Encounter,US Core Encounter Profile,Type,Encounter,Encounter,,Encounter.type,,
+,Encounter,US Core Condition Encounter Diagnosis Profile,Diagnosis,Condition,Condition,,Condition.code,,
+,Encounter,US Core Encounter Profile,Time,Encounter,Encounter,,Encounter.period,,
+,Encounter,US Core Encounter Profile,Location,Encounter,Encounter,,Encounter.location.location,,
+,Encounter,US Core Encounter Profile,Disposition,Encounter,Encounter,,Encounter.hospitalization.dischargeDisposition,,
+7,Facility Information,US Core Location Profile,,,,,Location,See Facility Information Guidance,StructureDefinition-us-core-location.html
+,Facility Information,US Core Location Profile,Identifier,Location,Location,,Location.identifier,,
+,Facility Information,US Core Location Profile,Type,Location,Location,,Location.type,,
+,Facility Information,US Core Location Profile,Name,Location,Location,,Location.name,,
+8,Goals and Preferences,US Core Goal Profile,,,,,Goal,,
+,Goals and Preferences,US Core Goal Profile,Patient Goals,Goal,Goal,,Goal,,
+,Goals and Preferences,US Core Goal Profile,SDOH Goals,Goal,Goal,,Goal,See Screening and Assessments Guidance,screening-and-assessments.html
+,Goals and Preferences,US Core Treatment Intervention Preference Profile,Treatment Intervention Preference,Observation,Observation,,Observation,,
+,Goals and Preferences,US Core Care Experience Preference Profile,Care Experience Preference,Observation,Observation,,Observation,,
+9,Health Insurance Information,US Core Coverage Profile | US Core Organization Profile ,,,,,Coverage | Organization,,
+,Health Insurance Information,US Core Coverage Profile,Coverage Status,Coverage,Coverage,,Coverage.status + Coverage.period,,
+,Health Insurance Information,US Core Coverage Profile,Coverage Type,Coverage,Coverage,,Coverage.type,,
+,Health Insurance Information,US Core Coverage Profile,Relationship to Subscriber,Coverage,Coverage,,"Coverage,relationship",,
+,Health Insurance Information,US Core Coverage Profile,Member Identifier,Coverage,Coverage,,Coverage.identifier,,
+,Health Insurance Information,US Core Coverage Profile,Subscriber Identifier,Coverage,Coverage,,Coverage.subscriberId,,
+,Health Insurance Information,US Core Coverage Profile,Group Number,Coverage,Coverage,,Coverage.class,,
+,Health Insurance Information,US Core Coverage Profile | US Core Organization Profile ,Payer Identifier,Coverage | Organization,Coverage | Organization,,Coverage.payer | Organization.identifier,,
+10,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,,,,,"Observation,Condition,QuestionnaireResponse",,
+,Health Status Assessments,US Core Condition Problems and Health Concerns Profile,Health Concerns,Condition,Condition,,Condition,,
+,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Functional Status,Observation,Observation,,Observation,See Screening and Assessments Guidance,screening-and-assessments.html
+,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Disability Status,Observation,Observation,,Observation,See Screening and Assessments Guidance,screening-and-assessments.html
+,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Mental/Cognitive Status,Observation,Observation,,Observation,See Screening and Assessments Guidance,screening-and-assessments.html
+,Health Status Assessments,US Core Observation Pregnancy Status Profile| US Core Observation Pregnancy Intent Profile,Pregnancy Status,Observation,Observation,,Observation,,
+,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Alcohol Use,Simple | Condition | QuestionnaireResponse,Simple | Condition | QuestionnaireResponse,,"Observation,Condition,QuestionnaireResponse",See Screening and Assessments Guidance,screening-and-assessments.html
+,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Substance Use,Simple | Condition | QuestionnaireResponse,Simple | Condition | QuestionnaireResponse,,"Observation,Condition,QuestionnaireResponse",See Screening and Assessments Guidance,screening-and-assessments.html
+,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Physical Activity,Simple | Condition | QuestionnaireResponse,Simple | Condition | QuestionnaireResponse,,"Observation,Condition,QuestionnaireResponse",See Screening and Assessments Guidance,screening-and-assessments.html
+,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,SDOH Assessment,Simple | Condition | QuestionnaireResponse,Simple | Condition | QuestionnaireResponse,,"Observation,Condition,QuestionnaireResponse",See Screening and Assessments Guidance,screening-and-assessments.html
+,Health Status Assessments,US Core Smoking Status Observation Profile,Smoking Status,Observation,Observation,,Observation,,
+11,Immunizations,US Core Immunization Profile,,,,,Immunization,,
+,Immunizations,US Core Immunization Profile,,Immunization,Immunization,,Immunization,,
+12,Laboratory,US Core Laboratory Result Observation Profile| US Core DiagnosticReport Profile for Laboratory Results Reporting | US Core Specimen Profile,,,,,"Observation, DiagnosticReport,Specimen",,
+,Laboratory,US Core Laboratory Result Observation Profile| US Core DiagnosticReport Profile for Laboratory Results Reporting,Tests,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation.code, DiagnosticReport.code",,
+,Laboratory,US Core Laboratory Result Observation Profile| US Core DiagnosticReport Profile for Laboratory Results Reporting,Values/Results,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation.value[x], DiagnosticReport.result",,
+,Laboratory,US Core Laboratory Result Observation Profile| US Core Specimen Profile,Specimen Type,Observation | Specimen,Observation | Specimen,,"Observation.specimen, Specimen",,
+,Laboratory,US Core Laboratory Result Observation Profile| US Core DiagnosticReport Profile for Laboratory Results Reporting,Result Status,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation.status, DiagnosticReport.status",,
+,Laboratory,US Core Laboratory Result Observation Profile,Result Unit of Measure,Observation,Observation,,(Observation.value.ofType(Quantity)).code,,
+,Laboratory,US Core Laboratory Result Observation Profile,Result Reference Range,Observation,Observation,,Observation.referenceRange,,
+,Laboratory,US Core Laboratory Result Observation Profile,Result Interpretation,Observation,Observation,,Observation.interpretation,,
+,Laboratory,US Core Specimen Profile,Specimen Identifier,Specimen,Specimen,,Specimen.identifier,,
+,Laboratory,US Core Specimen Profile,Specimen Source Site,Specimen,Specimen,,Specimen.collection.bodySite,,
+,Laboratory,US Core Specimen Profile,Specimen Condition Acceptability,Specimen,Specimen,,Specimen.condition,,
+13,Medical Devices,US Core Implantable Device Profile,,,,,Device,,
+,Medical Devices,US Core Implantable Device Profile,Unique Device Identifier(s) for a Patient's Implantable Device(s),Device,Device,,Device,,
+14,Medications,US Core MedicationRequest Profile | US Core MedicationDispense Profile | US Core Medication Profile,,,,,"MedicationRequest, MedicationDispense, Medication",See Medication List Guidance,medication-list.html
+,Medications,US Core Medication Profile | US Core MedicationRequest Profile,Medications,Medication | MedicationRequest,Medication | MedicationRequest,,"Medication.code, MedicationRequest.medication[x]",,
+,Medications,US Core MedicationRequest Profile,Dose,MedicationRequest,MedicationRequest,,MedicationRequest.dosageInstruction.doseAndRate,,
+,Medications,US Core MedicationRequest Profile,Dose Unit of Measure,MedicationRequest,MedicationRequest,,MedicationRequest.dosageInstruction.doseAndRate,,
+,Medications,US Core MedicationRequest Profile,Indication,MedicationRequest,MedicationRequest,,MedicationRequest.reasonCode | Medication.reasonReference,,
+,Medications,US Core MedicationRequest Profile,Medication Instructions,MedicationRequest,MedicationRequest,,MedicationRequest.dosageInstruction,,
+,Medications,US Core MedicationRequest Profile,Medication Adherence,MedicationRequest,MedicationRequest,US Core Medication Adherence Extension,MedicationRequest.extension.where(url='Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence'),,
+,Medications,US Core MedicationDispense Profile,Fill Status,Medication | MedicationDispense,Medication | MedicationDispense,,MedicationDispense,,
+15,Patient Demographics,US Core Patient Profile | US Core Observation Sexual Orientation Profile | US Core Observation Sexual Orientation Profile | US Core Observation Sexual Orientation Profile |US Core Observation Occupation Profile,,,,,"Patient, Observation",,
+,Patient Demographics,US Core Patient Profile,First Name,Patient,Patient,,Patient.name.given,,
+,Patient Demographics,US Core Patient Profile,Last Name,Patient,Patient,,Patient.name.family,,
+,Patient Demographics,US Core Patient Profile,Previous Name,Patient,Patient,,Patient.name,,
+,Patient Demographics,US Core Patient Profile,Middle Name (including middle initial),Patient,Patient,,Patient.name.given,,
+,Patient Demographics,US Core Patient Profile,Suffix,Patient,Patient,,Patient.name.suffix,,
+,Patient Demographics,US Core Patient Profile | US Core Sex Extension,Sex,Patient,Patient,US Core Sex Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex'),,
+,Patient Demographics,US Core Patient Profile,Date of Birth,Patient,Patient,,Patient.birthDate,,
+,Patient Demographics,US Core Patient Profile,Date of Death,Patient,Patient,,Patient.deceased[x],,
+,Patient Demographics,US Core Race Extension,Race,Patient,Patient,US Core Race Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'),,
+,Patient Demographics,US Core Patient Profile | US Core Ethnicity Extension,Ethnicity,Patient,Patient,US Core Ethnicity Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'),,
+,Patient Demographics,US Core Patient Profile | US Core Tribal Affiliation Extension,Tribal Affiliation,Patient,Patient,US Core Tibal Affiliation Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation'),,
+,Patient Demographics,US Core Patient Profile | US Core Gender Identity Extension,Gender Identity,Patient,Patient,Gender Identity Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity'),,
+,Patient Demographics,US Core Observation Sexual Orientation Profile,Sexual Orientation,Observation,Observation,,Observation,,
+,Patient Demographics,US Core Patient Profile,Preferred Language,Patient,Patient,,Patient.communication,,
+,Patient Demographics,US Core Patient Profile,Address,Patient,Patient,,Patient.address,,
+,Patient Demographics,US Core Patient Profile,Previous Address,Patient,Patient,,Patient.address,,
+,Patient Demographics,US Core Patient Profile,Email,Patient,Patient,,Patient.telecom,,
+,Patient Demographics,US Core Patient Profile,Phone Number,Patient,Patient,,Patient.telecom,,
+,Patient Demographics,US Core RelatedPerson Profile,Related Person's Name,RelatedPerson,RelatedPerson,,RelatedPerson.name,,
+,Patient Demographics,US Core RelatedPerson Profile,Related Person's Relationship,RelatedPerson,RelatedPerson,,RelatedPerson.relationship,,
+,Patient Demographics,US Core Observation Occupation Profile,Occupation,Observation,Observation,,Observation,,
+,Patient Demographics,US Core Observation Occupation Profile,Occupation Industry,Observation,Observation,,Observation,,
+16,Patient Summary and Plan,US Core CarePlan Profile,,,,,CarePlan,,
+,Patient Summary and Plan,US Core CarePlan Profile,Assessment and Plan of Treatment,CarePlan,CarePlan,,CarePlan,,
+17,Problems,US Core Condition Problems and Health Concerns Profile,,Condition,Condition,,Condition,,
+,Problems,US Core Condition Problems and Health Concerns Profile,Date of Resolution,Condition,Condition,,Condition.abatement[x],,
+,Problems,US Core Condition Problems and Health Concerns Profile,Date of Diagnosis,Condition,Condition,assertedDate Extension,Condition.extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate') | Condition.onset[x] | Condition.onsetDate,,
+,Problems,US Core Condition Problems and Health Concerns Profile,SDOH Problems/Health Concerns,Condition,Condition,,Condition,See Screening and Assessments Guidance,screening-and-assessments.html
+18,Procedures,US Core Procedure Profile | US Core ServiceRequest Profile,,,,,"Procedure, ServiceRequest",,
+,Procedures,US Core Procedure Profile,Procedure,Procedure,Procedure,,Procedure,,
+,Procedures,US Core Procedure Profile|US Core DiagnosticReport Profile for Report and Note Exchange|US Core Immunization Profile,Time of Procedure,Procedure | DiagnosticRepor | Immunization,Procedure | DiagnosticRepor | Immunization,,"Procedure.pertormed[x],DiagnosticReport.effective[x],Immunization.occurrence[x]",,
+,Procedures,US Core ServiceRequest Profile,Reason for Referral,ServiceRequest,ServiceRequest,,"ServiceRequest.reasonCode, ServiceRequest.reasonReference",,
+,Procedures,US Core ServiceRequest Profile | US Core Procedure Profile,SDOH Interventions,ServiceRequest | Procedure,ServiceRequest | Procedure,,"ServiceRequest, Procedure",See Screening and Assessments Guidance,screening-and-assessments.html
+19,Provenance,US Core Provenance Profile,,,,,Provenance,See Basic Provenance Guidance,basic-provenance.html
+,Provenance,US Core Provenance Profile,Author Time Stamp,Provenance,Provenance,,Provenance.recorded,,
+,Provenance,US Core Provenance Profile,Author Organization,Provenance,Provenance,,Provenance.agent,,
+20,Vital Signs,US Core Vital Signs Profile,,,,,Observation,,
+,Vital Signs,US Core Average Blood Pressure Profile ,Average Blood Pressure,Observation,Observation,,Observation,,
+,Vital Signs,US Core Blood Pressure Profile ,Diastolic blood pressure,Observation,Observation,,Observation,,
+,Vital Signs,US Core Blood Pressure Profile ,Systolic blood pressure,Observation,Observation,,Observation,,
+,Vital Signs,US Core Body Height Profile ,Body height,Observation,Observation,,Observation,,
+,Vital Signs,US Core Body Weight Profile ,Body weight,Observation,Observation,,Observation,,
+,Vital Signs,US Core Heart Rate Profile ,Heart rate,Observation,Observation,,Observation,,
+,Vital Signs,US Core Respiratory Rate Profile ,Respiratory rate,Observation,Observation,,Observation,,
+,Vital Signs,US Core Body Temperature Profile ,Body temperature,Observation,Observation,,Observation,,
+,Vital Signs,US Core Pulse Oximetry Profile ,Pulse oximetry,Observation,Observation,,Observation,,
+,Vital Signs,US Core Pulse Oximetry Profile ,Inhaled oxygen concentration,Observation,Observation,,Observation,,
+,Vital Signs,US Core Pediatric BMI for Age Observation Profile ,BMI Percentile (2-20 years old),Observation,Observation,,Observation,,
+,Vital Signs,US Core Pediatric Weight for Height Observation Profile ,Weight-for-length Percentile (Birth - 36 months),Observation,Observation,,Observation,,
+,Vital Signs,US Core Pediatric Head Occipital Frontal Circumference Percentile Profile,Occipital Frontal Head Circumference Percentile (Birth - 36 months),Observation,Observation,,Observation,,
\ No newline at end of file
diff --git a/input/examples-yaml/Procedure-R4-defib-implant.yml b/input/examples-yaml/Procedure-R4-defib-implant.yml
new file mode 100644
index 00000000..42e47138
--- /dev/null
+++ b/input/examples-yaml/Procedure-R4-defib-implant.yml
@@ -0,0 +1,47 @@
+resourceType: Procedure
+id: defib-implant
+meta:
+ profile:
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
+ extension:
+ - url: http://hl7.org/fhir/StructureDefinition/instance-name
+ valueString: Procedure Defibrillator Implant Example
+ - url: http://hl7.org/fhir/StructureDefinition/instance-description
+ valueMarkdown: This *US Core Procedure Profile* is an example of an Defibrillator
+ implant Procedure. In this example, the reason for a referral is communicated through `Procedure.code'.
+identifier:
+- system: urn:ietf:rfc:3986
+ value: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff
+# basedOn:
+# - reference: ServiceRequest/defib-implant
+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
+encounter:
+ reference: Encounter/example-1
+ display: Office Visit
+performedPeriod:
+ start: '2019-03-26T12:55:26-07:00'
+ end: '2019-03-26T13:25:26-07:00'
+performer:
+- actor:
+ reference: Practitioner/practitioner-1
+
+reasonCode:
+- coding:
+ - system: http://hl7.org/fhir/sid/icd-10-cm
+ code: I49.01
+ display: Ventricular fibrillation
+ text: Ventricular fibrillation
+
+
+focalDevice:
+- manipulated:
+ reference: Device/udi-2
+
diff --git a/input/examples/Procedure-R4-defib-implant.json b/input/examples/Procedure-R4-defib-implant.json
new file mode 100644
index 00000000..df727d26
--- /dev/null
+++ b/input/examples/Procedure-R4-defib-implant.json
@@ -0,0 +1,72 @@
+{
+ "resourceType": "Procedure",
+ "id": "defib-implant",
+ "meta": {
+ "profile": [
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"
+ ],
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/instance-name",
+ "valueString": "Procedure Defibrillator Implant Example"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/instance-description",
+ "valueMarkdown": "This *US Core Procedure Profile* is an example of an Defibrillator implant Procedure. In this example, the reason for a referral is communicated through `Procedure.code'."
+ }
+ ]
+ },
+ "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"
+ },
+ "encounter": {
+ "reference": "Encounter/example-1",
+ "display": "Office Visit"
+ },
+ "performedPeriod": {
+ "start": "2019-03-26T12:55:26-07:00",
+ "end": "2019-03-26T13:25:26-07:00"
+ },
+ "performer": [
+ {
+ "actor": {
+ "reference": "Practitioner/practitioner-1"
+ }
+ }
+ ],
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "system": "http://hl7.org/fhir/sid/icd-10-cm",
+ "code": "I49.01",
+ "display": "Ventricular fibrillation"
+ }
+ ],
+ "text": "Ventricular fibrillation"
+ }
+ ],
+ "focalDevice": [
+ {
+ "manipulated": {
+ "reference": "Device/udi-2"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/input/includes/additional-requirements-intro.md b/input/includes/additional-requirements-intro.md
index 1627da0f..756715d0 100644
--- a/input/includes/additional-requirements-intro.md
+++ b/input/includes/additional-requirements-intro.md
@@ -7,4 +7,4 @@ for example
{% raw %} {% include additional-requirements-intro.md type="Patient" plural="true" %} or {% include additional-requirements-intro.md type="DocumentReference" %} {% endraw %}
-->
-For ONC's USCDI requirements, each {{include.type}} Must Support the following additional {% if include.plural %}elements. These elements are{% else %}element. This element is{% endif %} included in the formal definition of the profile and the {{include.type}} examples.
\ No newline at end of file
+For ONC's USCDI requirements, each {{include.type}} Must Support the following additional {% if include.plural %}elements. These elements are{% else %}element as [Additional USCDI Requirements]. This element is{% endif %} included in the formal definition of the profile and the {{include.type}} examples.
\ No newline at end of file
diff --git a/input/includes/link-list.md b/input/includes/link-list.md
index a86106ec..8ce19c6b 100644
--- a/input/includes/link-list.md
+++ b/input/includes/link-list.md
@@ -4,3 +4,4 @@
[National Drug Codes (NDC)]: https://www.fda.gov/drugs/drug-approvals-and-databases/national-drug-code-directory
[extensible]: {{site.data.fhir.path}}terminologies.html#extensible
[component]: foo.html
+[Additional USCDI Requirements]: must-support.html#additional-uscdi-requirements
\ No newline at end of file
diff --git a/input/includes/sd_link.html b/input/includes/sd_link.html
new file mode 100644
index 00000000..ff80e0fe
--- /dev/null
+++ b/input/includes/sd_link.html
@@ -0,0 +1,7 @@
+{%- for sd_hash in site.data.structuredefinitions -%}
+ {%- assign sd = sd_hash[1] -%}
+ {%- if sd.title == include.title -%}
+ {{sd.path}}
+ {%- break -%}
+ {%- endif -%}
+{%- endfor -%}
diff --git a/input/includes/uscdi-uscore-map.html b/input/includes/uscdi-uscore-map.html
index 3f50041f..a3433885 100644
--- a/input/includes/uscdi-uscore-map.html
+++ b/input/includes/uscdi-uscore-map.html
@@ -74,13 +74,13 @@
{% assign profiles = item.uscore_profile | split: "|" %}
{% for profile in profiles %}
{% capture title %}{{profile | strip}}{% endcapture %}
- {{ profile }}
+ {{ title }}
{% unless forloop.last %}
{% endunless %}
{% endfor %}
- {{ item.comment }} |
+ |
@@ -94,7 +94,7 @@
{% assign profiles = item.uscore_profile | split: "|" %}
{% for profile in profiles %}
{% capture title %}{{profile | strip}}{% endcapture %}
- {{ profile }}
+ {{ title }}
{% unless forloop.last %}
{% endunless %}
diff --git a/input/includes/uscdi-uscore-map.html.tmp b/input/includes/uscdi-uscore-map.html.tmp
new file mode 100644
index 00000000..3f50041f
--- /dev/null
+++ b/input/includes/uscdi-uscore-map.html.tmp
@@ -0,0 +1,118 @@
+
+
+{% assign rows = site.data.uscdi-table %}
+{% assign items_grouped = rows | group_by: "data_class" %}
+
+
+
+
+
+
+
+
+
+
US Core Data for Interoperability USCDI
+
+
+{% for group in items_grouped %}
+{% for item in group.items %}
+{% if forloop.first %}
+
+
+
+
+
+
+
+
+
+ {{ item.data_class }} |
+
+ {% assign profiles = item.uscore_profile | split: "|" %}
+ {% for profile in profiles %}
+ {% capture title %}{{profile | strip}}{% endcapture %}
+ {{ profile }}
+ {% unless forloop.last %}
+
+ {% endunless %}
+ {% endfor %}
+ |
+ {{ item.comment }} |
+
+
+
+
+ {% else %}
+
+
+ •{{ item.data_element }} |
+
+
+ {% assign profiles = item.uscore_profile | split: "|" %}
+ {% for profile in profiles %}
+ {% capture title %}{{profile | strip}}{% endcapture %}
+ {{ profile }}
+ {% unless forloop.last %}
+
+ {% endunless %}
+ {% endfor %}
+ |
+
+
+ {{ item.comment }}
+ |
+
+
+ {% if forloop.last %}
+
+
+
+
+
+{% endif %}
+{% endif %}
+{% endfor %}
+{% endfor %}
\ No newline at end of file
diff --git a/input/intro-notes/StructureDefinition-us-core-procedure-intro.md b/input/intro-notes/StructureDefinition-us-core-procedure-intro.md
new file mode 100644
index 00000000..22d2ad3d
--- /dev/null
+++ b/input/intro-notes/StructureDefinition-us-core-procedure-intro.md
@@ -0,0 +1,53 @@
+
+**Example Usage Scenarios:**
+
+The following are example usage scenarios for this profile:
+
+- Query for procedures performed on a Patient
+- [Record or update] a procedure performed on a Patient
+
+
+### Mandatory and Must Support Data Elements
+
+
+The following data-elements must always be present ([Mandatory] definition) or must be supported if the data is present in the sending system ([Must Support] definition). They are presented below in a simple human-readable explanation. Profile specific guidance and examples are provided as well. The [Formal Views] below provides the formal summary, definitions, and terminology requirements.
+
+**Each Procedure Must Have:**
+
+1. a status
+1. a code that identifies the type of procedure performed on the patient
+1. a patient
+2. when the procedure was performed*
+
+\*This elements have the following constraints: **SHALL** be present if status is 'completed' or 'in-progress'.
+
+**Each Procedure Must Support:**
+
+1. the encounter associated with the procedure
+
+
+**Additional USCDI Requirements**
+
+{% include additional-requirements-intro.md type="Procedure" %}
+
+1. a reason or indication for referral or consultation*
+
+\*see guidance below
+
+**Profile Specific Implementation Guidance:**
+
+- Procedure codes can be taken from SNOMED-CT, CPT, HCPCS II, ICD-10-PCS, CDT. LOINC.
+ - Only LOINC concepts that reflect actual procedures **SHOULD** be used
+- A procedure including an implantable device **SHOULD** use `Procedure.focalDevice` with a reference to the [US Core Implantable Device Profile].
+- See the [Screening and Assessments] guidance page for more information when exchanging Social Determinants of Health (SDOH) Procedures
+- *The Reason or justification for a referral or consultation is communicated through:
+ 1. `ServiceRequest.reason` or `ServiceRequest.reason`, and `Procedure.basedOn` that links the Procedure to the US Core ServiceRequest Profile.
+ - `ServiceRequest.reasonCode` and `ServiceRequest.reasonReference` are marked as Additional USCDI Requirements. The certifying server system is not required to support both but **SHALL** support at least one of these elements. The certifying client application **SHALL** support both elements.
+ - As documented [here](general-guidance.html#referencing-us-core-profiles), when using `ServiceRequest.reasonReference`, the referenced resources **SHOULD** be a US Core Profile.
+ 1. `Procedure.reasonCode` or `Procedure.reasonReference` when the Procedure does not have an associated ServiceRequest.
+ - Although both `Procedure.reasonCode` and `Procedure.reasonReference` are marked as Additional USCDI Requirements. The certifying server system is not required to support both but **SHALL** support at least one of these elements. The certifying client application **SHALL** support both elements.
+ - As documented [here](general-guidance.html#referencing-us-core-profiles), when using `Procedure.reasonReference`, the referenced resources **SHOULD** be a US Core Profile.
+
+ Certifying Servers and Clients **SHALL** support options 1 and 2 as Additional USCDI Requirements.
+
+{% include link-list.md %}
diff --git a/input/pagecontent/fhir-write.md b/input/pagecontent/fhir-write.md
new file mode 100644
index 00000000..d59775ae
--- /dev/null
+++ b/input/pagecontent/fhir-write.md
@@ -0,0 +1,194 @@
+
+
+### SMART Configuration
+EHR systems with support for writing FHIR vital sign Observation resources from patient-facing apps, provider-facing apps or system apps SHALL include a `vitals-write` capability in `.well-known/smart-configuration` [capabilities array](https://build.fhir.org/ig/HL7/smart-app-launch/conformance.html#launch-context-for-standalone-launch).
+
+### Writing from Patient-Facing Apps
+
+EHR systems providing the ability to write FHIR vital sign Observation resources from patient-facing apps SHALL support the registration and authorization of apps with the `patient/Observation.c` SMART scope and MAY require limiting this scope to `category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs`. Note that `read` and `search` capabilities are already implied by [US Core Vital Signs profile](http://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-vital-signs.html).
+
+EHR systems providing the ability to write FHIR vital sign Observation resources from patient-facing apps SHOULD also support the registration and authorization of apps with either `patient/Observation.u` or `patient/Observation.u?category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs` SMART scope. Note, systems are allowed to only support limited [update](#Updating-Previously-Submitted-Observations) capabilities.
+
+When offering a patient write capability, health systems MAY choose to enable or disable this capability in the system based on factors such as the provider, patient, payer, app, and vital type, or MAY choose to enable the capability broadly. If patients and/or apps attempting to write data are not enabled, and this can be discerned during the authorization process, the EHR SHALL omit these unsupported scopes from the resulting access token. If an app uses an access token without the required scopes to submit an `Observation` or the patient is not enabled to write data, the EHR SHALL return an error and SHOULD include an `OperationOutcome` in the response body.
+
+
+Examples:
+- Direct write - a provider creates an order in the EHR for patient home monitoring. Then, the patient's blood pressure cuff sends data to an app on the patient's phone that uses SMART to write the data into their record. The EHR automatically associates the blood pressure data with the appropriate order.
+- Mediated write - a patient uses a SMART app to write vitals from an outside source (e.g., specialist visit summary).
+
+### Writing from Provider-Facing Apps
+
+EHR systems providing the ability to write FHIR vital sign Observation resources from provider-facing apps SHALL support the registration and authorization of apps with the `user/Observation.c` and `system/Observation.c` SMART scopes and MAY require limiting these scopes to `category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs`. Note that `read` and `search` capabilities are already implied by [US Core Vital Signs profile](http://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-vital-signs.html).
+
+EHR systems providing the ability to write FHIR vital sign Observation resources from patient-facing apps SHOULD also support the registration and authorization of apps with either `user/Observation.u` and `system/Observation.u` SMART scopes, or `user/Observation.u?category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs` and `system/Observation.u?category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs` SMART scopes. Note, systems are allowed to only support limited [update](#Updating-Previously-Submitted-Observations) capabilities.
+
+Examples:
+- Direct write - a blood pressure cuff sends readings to a standalone launch SMART app on a practice tablet that a clinical user then uses to write the data to a patient's record in the EHR.
+- Mediated write - a patient app saves data to a repository controlled by the app developer. Then, the patient uses a "share with provider" function to enable the provider to access this data with a SMART app. The provider writes some or all of the observations into the patient’s record in the EHR.
+
+### Resource Submission
+
+EHR systems SHALL support the submission of Observation resources that _are not_ the result of a calculation and validate against a [US Core Vital Sign Profile](https://build.fhir.org/ig/HL7/US-Core/profiles-and-extensions.html#observation) that corresponds to a version used by the EHR for vital sign Observation read requests.
+
+EHR systems MAY support the submission of Observation resources that _are_ the result of a calculation (such as the "US Core Pediatric BMI for Age Observation Profile") and validate against a [US Core Vital Sign Profile](https://build.fhir.org/ig/HL7/US-Core/profiles-and-extensions.html#observation) that corresponds to a version used by the EHR for vital sign Observation read requests.
+
+EHR systems SHALL respond to supported and valid vital sign Observation creation requests with a status code of `200 OK` and a content location header, or with a status code of `202 Accepted`. If a content location header is provided, the resources SHALL be visible in subsequent read API calls and accessible within the EHR in the same manner as other patient submitted data. If a content location header is not provided, and EHR systems do not subsequently make the resource accessible in read API calls, the EHR system SHALL have a documented and discoverable reason why it was discarded (e.g., a log entry describing rejection during a review workflow or the applicability of a condition in the "Discarding" section below).
+
+EHR systems SHALL support the creation of a single vital sign through a FHIR `create` operation and MAY support the creation of multiple vitals signs by submitting a FHIR `Batch` bundle. When batch creation is supported, clients MAY use this approach to indicate that a set of Observation resources should be reviewed as a group and EHR systems MAY use this information when sending notifications or displaying the data.
+
+EHRs may choose to segregate data that originated from a patient from other vital sign data for the patient (for example, showing it on a separate patient flow sheet).
+
+Workflow for submitted Observations is the responsibility of the receiving system and is out of scope for this version of the IG (e.g., requiring provider review for patient submitted resources before fully integrating them in the chart).
+
+#### Observation Elements
+
+`meta.tag`
+- Client - When writing patient-mediated data into the EHR, provider-facing apps SHALL include a `Meta.tag` with a system of `http://hl7.org/fhir/us/core/CodeSystem/us-core-tags` and a value of `patient-supplied` to indicate that the data was supplied by a patient or patient designee (such as a parent or spouse) rather than by a healthcare provider.
+- EHRs SHALL associate the `patient-supplied` tag with vital signs supplied by a patient written through this API, and MAY associate the tag with vital signs supplied by a patient regardless of how they arrive in the EHR. Provider-facing apps writing data supplied by a patient SHALL include this tag in the Observation resources being submitted. The EHR MAY subsequently dissociate the tag from the data through an explicit reconciliation process.
+
+`encounter`
+- Client - If populating this element, apps SHALL use a reference to an Encounter resource in the EHR, and MAY use the value returned by the `launch/encounter` SMART scope.
+- EHR - Systems SHOULD document whether the `encounter` element is required to create a vital sign. When not required, EHRs MAY determine this value based on context if it is omitted.
+
+`subject`
+- Client - Apps SHALL populate the `subject` reference with a reference to a Patient resource in the EHR. Patient-facing apps SHOULD populate this element based on the value returned as part of the `launch/patient` SMART scope.
+
+`device`
+- Client - Apps MAY populate the `device` reference with a reference to Device resource in the EHR, or a contained Device resource within the Observation. This is the device used to measure the vital sign (e.g., a BP cuff), not the device used to transmit the data (e.g., a phone). Contained device resources SHALL populate at least one `deviceName` element.
+- EHR - When provided by an app, systems SHOULD log this data, but do not need to expose it in EHR user interface or in the `device` element when returning the Observation.
+
+`performer`
+- Client - Apps SHOULD populate the `performer` element with a reference to a resource in the EHR when the resource exists or the app has the ability to create it. For patient-facing apps, if the app knows that a patient collected this data, the app SHALL set the `performer` to a reference to the patient based on the the SMART launch context (this should also match the `Observation.subject`). If the relevant resource does not exist and the app is unable to create it, the app SHOULD populate `performer.display`.
+- EHR - Systems SHALL persist this value when it is provided.
+
+
+### Discarding Observations
+
+For a given vital sign type, if many Observations are submitted that have `effectiveDateTime` or `effectivePeriod` values that are close in time, an EHR MAY choose to discard a portion of these Observations or MAY reject submitted Observations with an appropriate OperationOutcome. EHRs SHALL clearly document this behavior or the ways in which this behavior may be customized by health systems in the APIs documentation.
+
+If an EHR determines that a vital sign is a duplicate of one it has already stored, the EHR MAY ignore the Observation or MAY reject the submitted Observation with an appropriate OperationOutcome. EHRs SHALL clearly document this behavior or the ways in which this behavior may be customized by health systems in the APIs documentation.
+
+### Updating Previously Submitted Observations
+
+EHR systems SHOULD support the ability for patients-facing apps to update the `status` element of a vital sign resource the user previously wrote to the system from any app to `entered-in-error` through an `update` interaction. This capability SHOULD only be used by apps to address data mistakes in data submission.
+
+### Including Provenance Information
+
+EHR systems MAY ignore contained Provenance resources in an Observation being submitted, but SHALL not return an error due to their presence.
+
+#### Resource retrieved from an external organization
+
+![](https://hackmd.io/_uploads/S1h87epp2.png)
+
+When writing an Observation that was retrieved from an external organization (e.g., a health system's EHR or a device manufacturer's cloud data store):
+
+- Apps SHALL pass through any Provenance resources received from the source system, unaltered (except for references, as described below), as contained resources on the Observation. A source system compliant with the US Core FHIR profiles SHOULD include a Provenance resource with `agent.type = author` that the app can pass through. The app SHALL also pass through resources referenced in elements that are labeled as "Must Support" in the USCDI Provenance profile and populated in the Provenance resources, including them as contained resources in the Observation and updating the references to them.
+- When a Provenance resource with `agent.type = author` is not received from the source system, apps SHALL generate a contained Provenance resource with:
+ - `recorded` set to date and time recorded
+ - `agent.type = author` that has `agent.who` set to the organization/provider that authored the content, with at least the `who.display` element populated.
+ - When available, a `who.identifier.value` should be set to the url where that data was retrieved and `who.identifier.system` should be set to `urn:ietf:rfc:3986`
+- Apps MAY include a Provenance resource with `agent.type = transmitter` with information on the entity that submitted the data. EHR systems MAY store and display this information and/or MAY populate this information based on the SMART context associated with the write.
+
+Example:
+```js
+{
+ "resourceType": "Observation",
+ "contained": [{
+ "resourceType": "Provenance",
+ "id": "contained_1",
+ "target": [{"reference": "#"}],
+ "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": {
+ "display": "Saint Luke\'s Hospital of Kansas City",
+ // identifier could be an url as in Patient Access Brands
+ "identifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "https://stlukes.example.org"
+ }
+ }
+ },{
+ "type": {
+ "coding": [{
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code": "transmitter",
+ "display": "Transmitter"
+ }]
+ },
+ "who": {
+ //this is the user submitting the data
+ //can be populated by the EHR based on the SMART context if omitted
+ "reference": "Patient/123"
+ }
+ }]
+ }]
+ // ... other Observation elements
+}
+```
+
+#### Resources not retrieved from an external organization
+
+![](https://hackmd.io/_uploads/B1PWv1pah.png)
+
+When writing an Observation that was not retrieved from an external organization (e.g., transmitted by a home blood pressure cuff, or manually entered by a patient):
+
+ - App MAY include a contained Provenance resource with `agent.type = author` with information on the party that wrote the data. EHR systems MAY store and display this information and/or MAY populate this information based on the SMART context associated with the write.
+
+ - App MAY include one or more contained Provenance resources with `agent.type = composer` and/or `agent.type = assembler` with information on the device, app, or apps that captured or passed along the data.
+
+Example:
+```js
+[{
+ "resourceType": "Provenance",
+ "target": [{"reference": "#"}],
+ "recorded": "2019-07-08",
+ "agent": [{
+ "type": {
+ "coding": [{
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code": "composer",
+ "display": "Composer"
+ }]
+ },
+ "who": {
+ //this is the app that provided the original data
+ "display": "OMRON for iOS"
+ }
+ },{
+ "type": {
+ "coding": [{
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code": "author",
+ "display": "Author"
+ }]
+ },
+ "who": {
+ "reference": "Patient/123"
+ }
+ }]
+},{
+ "resourceType": "Provenance",
+ "target": [{"reference": "#"}],
+ "recorded": "2019-07-09T10:26:23.217+00:00",
+ "agent": [{
+ "type": {
+ "coding": [{
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code": "assembler",
+ "display": "Assembler"
+ }]
+ },
+ "who": {
+ //this is the app that's transmitting the data
+ "display": "Healthkit"
+ }
+ }]
+}]
+```
\ No newline at end of file
diff --git a/input/pagecontent/future.md b/input/pagecontent/future.md
new file mode 100644
index 00000000..7536f7c7
--- /dev/null
+++ b/input/pagecontent/future.md
@@ -0,0 +1,81 @@
+
+The US Core FHIR Profiles are designed to be the base set of requirements for FHIR implementation in the US. All US Realm implementation guides **SHALL** use the US Core Profiles or **SHALL** explicitly state why they are unable to use. Throughout the development of US Core, implementers, the government, and the clinical community have brought forward additional requirements for US Core. This section outlines the approach to growth and a place for items that may be added to US Core.
+
+### US Core Yearly Updates
+
+Yearly US Core updates reflect changes to [U.S. Core Data for Interoperability (USCDI)] and requests from the US Realm FHIR community. This approach is outlined in the figure below:
+
+
+
+### Growth Path of US Core
+
+The US Core implementation Guide will grow following these steps:
+
+
+
+1. Declare candidacy - this step can be completed by presenting a Project Proposal to the US Realm Steering Committee.
+1. Get published - Develop a formal profile, an implementation guide, or get requirements directly published in FHIR Core. The initial publication could be an outside consortium or vendor publication.
+1. Pilot - coordinate with three or more implementers an in-person or virtual connectathon. Testing and piloting is the way to identify issues with the new proposal.
+1. Propose candidate for US Core to US Realm Steering Committee - receive formal approval from the US Realm SC to add.
+1. Submit formal STU comments, or propose through a ballot
+
+A new US Regulatory requirement may jump over some of these steps. However, regulators **SHOULD** be encouraged to complete pilot testing. With pilot testing, it is easier to understand how a change will affect real-world implementation.
+
+
+
+### Future Candidate Requirements Under Consideration
+
+Past Balloters, STU commenters, and Accelerator Project teams submitted the following items for consideration to add US Core. Additional requirements gathering is required before testing may occur on these items:
+
+#### Additional pilot Testing of UDI elements
+In the January ballot of 2019 we tested this process with the FDA requesting US Core include all the parts of UDI. In prior efforts, the FDA had successfully enhanced the base FHIR specification to include the UDI components.
+
+#### [Device]
+The US Core Implantable Device Profile is intended to *only* be used for implantable devices. Please submit your successful implementation of a general non-implantable Device Profile (for example, software or crutches) for consideration in a future update of US Core.
+
+#### [MedicationAdministration]
+The US Core design is based on the assumption that access to the Active Medication List is through searching MedicationRequest. (See: https://build.fhir.org/ig/HL7/US-Core/medication-list-guidance.html) The orders (MedicationRequest) capture all the medications, whether they have been fulfilled. MedicationAdministration can be used as well, but systems will need to be careful to link to appropriate MedicationRequest. Future versions of US Core may test and add MedicationAdministration.
+
+#### Searching for Multiple Patients
+Searching for multiple patients has been called out in the ONC Health IT Certification Program. Defining capabilities for multiple patient access would focus on querying real-time data for a user-facing provider app across patients. Examples of the type of queries that would be addressed include searching for all of a provider's patients:
+
+- with recent lab results
+- currently in the Emergency Department
+- with an Allergy to X
+- being seen by a provider for the day
+
+#### Timezones and Time Offsets
+Clients currently face challenges displaying the source data's times and timezone regardless of the end user's current timezone. A solution is to define requirements and best practices for servers to preserve and represent time offsets and time zones.
+
+>A *timezone* is a geographical region in which residents observe the same standard time. A *time offset* is an amount of time subtracted from or added to Coordinated Universal Time (UTC) time to get the current civil time, whether it is standard time or daylight saving time (DST).[^1]
+
+ Common practice is to preserve the source data time offsets as the original offset or converted to Coordinated Universal Time (UTC) time. Making this a requirement is one consideration. Another consideration is the addition of server best practices for preserving source timezones using the FHIR standard [timezone extension]. A third consideration is providing a client algorithm for resolving time offsets and time zones.
+
+
+
+#### Record or Update Data
+
+
+
+Systems may use operations that create and update resources for any of the profiles in this IG. However, more guidance is needed on writing and updating data in the context of US Core Profiles to support consistency between implementations. Multiple issues will need to be considered when defining expected behavior by the various actors to support updates and writes to the data, including:
+
+ - Defining the overall approach
+ - direct updates to a particular resource via FHIR RESTful transactions
+ - new Profiles to represent the context and issue and request
+ - Write failure scenarios (e.g., insufficient data to create)
+ - Recording and updating data in the context of the Must Support fields
+ - Indicating the source of the update
+
+
+The Argonaut project has defined [FHIR Write Guidance for Vital Sign Observations](fhir-write.html) for creating and updating vital sign Observations resources from patient-facing and provider-facing applications and expects to develop similar guidance for other Observation categories and resource types. After adequate testing by implementers, we will assess the feasibility of incorporating this guidance into the US Core API.
+
+
+
+
+------------------------------------------------------------------------
+Footnotes
+
+[^1]: https://en.wikipedia.org/w/index.php?title=UTC_offset#Time_zones_and_time_offsets
+
+
+{% include link-list.md %}
diff --git a/input/pagecontent/guidance.md b/input/pagecontent/guidance.md
index 6249d063..5474ce1b 100644
--- a/input/pagecontent/guidance.md
+++ b/input/pagecontent/guidance.md
@@ -1 +1,29 @@
-### Guidance
\ No newline at end of file
+### Guidance
+
+
+
+The US Core Profiles were originally designed to meet the 2015 Edition certification criterion for Patient Selection 170.315(g)(7) and Application Access – Data Category Request 170.315(g)(8). They were created for each item in the [2015 Edition Common Clinical Data Set (CCDS)]. The Location, Organization, and Practitioner Profiles are not called out specifically in the certification criteria but are included because other profiles directly reference them. The US Core Profiles are informed by the prior [Data Access Framework] and the [Argonaut Data Query] Implementation Guides. However, the profiles here are stand-alone and include requirements from the [U.S. Core Data for Interoperability (USCDI) v4].
+
+The table below lists the US Core Profile and FHIR Resources used for the corresponding USCDI Data elements. This information is also available as a [csv](uscdi-table.csv) or [excel](uscdi-table.xlsx) file:
+
+{% include uscdi-uscore-map.html %}
+
+
+
+{% include link-list.md %}
\ No newline at end of file
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-average-blood-pressure.yml b/input/resources-yaml-copy/StructureDefinition-us-core-average-blood-pressure.yml
index 04dd4284..06a08c7f 100644
--- a/input/resources-yaml-copy/StructureDefinition-us-core-average-blood-pressure.yml
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-average-blood-pressure.yml
@@ -5,7 +5,7 @@ name: USCoreAverageBloodPressureProfile
title: US Core Average Blood Pressure Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: To promote interoperability and adoption through common implementation,
this profile sets minimum expectations for the Observation resource to record, search,
and fetch average diastolic and systolic blood pressure observations with standard
@@ -41,6 +41,7 @@ differential:
short: clinically relevant time-period for the average of blood pressure (BP)
readings
type:
+ - code: dateTime
- extension:
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
valueBoolean: true
@@ -83,7 +84,6 @@ differential:
mustSupport: true
- id: Observation.component:systolic.valueQuantity.value
path: Observation.component.valueQuantity.value
- short: Numerical value (with implicit precision)
min: 1
max: '1'
type:
@@ -91,7 +91,6 @@ differential:
mustSupport: true
- id: Observation.component:systolic.valueQuantity.unit
path: Observation.component.valueQuantity.unit
- short: Unit representation
min: 1
max: '1'
type:
@@ -99,7 +98,6 @@ differential:
mustSupport: true
- id: Observation.component:systolic.valueQuantity.system
path: Observation.component.valueQuantity.system
- short: System that defines coded unit form
min: 1
max: '1'
type:
@@ -108,7 +106,6 @@ differential:
mustSupport: true
- id: Observation.component:systolic.valueQuantity.code
path: Observation.component.valueQuantity.code
- short: Coded form of the unit
min: 1
max: '1'
type:
@@ -140,7 +137,6 @@ differential:
mustSupport: true
- id: Observation.component:diastolic.valueQuantity.value
path: Observation.component.valueQuantity.value
- short: Numerical value (with implicit precision)
min: 1
max: '1'
type:
@@ -148,7 +144,6 @@ differential:
mustSupport: true
- id: Observation.component:diastolic.valueQuantity.unit
path: Observation.component.valueQuantity.unit
- short: Unit representation
min: 1
max: '1'
type:
@@ -156,7 +151,6 @@ differential:
mustSupport: true
- id: Observation.component:diastolic.valueQuantity.system
path: Observation.component.valueQuantity.system
- short: System that defines coded unit form
min: 1
max: '1'
type:
@@ -165,7 +159,6 @@ differential:
mustSupport: true
- id: Observation.component:diastolic.valueQuantity.code
path: Observation.component.valueQuantity.code
- short: Coded form of the unit
min: 1
max: '1'
type:
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-care-experience-preference.yml b/input/resources-yaml-copy/StructureDefinition-us-core-care-experience-preference.yml
index ef1f9180..7ea7b053 100644
--- a/input/resources-yaml-copy/StructureDefinition-us-core-care-experience-preference.yml
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-care-experience-preference.yml
@@ -5,7 +5,7 @@ name: USCoreCareExperiencePreferenceProfile
title: US Core Care Experience Preference Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: To promote interoperability and adoption through common implementation,
this profile sets minimum expectations for the Observation resource to record, search,
and fetch for a patient's care experience preferences. It is based on the US Core
@@ -50,7 +50,7 @@ differential:
mustSupport: true
- id: Observation.derivedFrom
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Observation.derivedFrom
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-location.yml b/input/resources-yaml-copy/StructureDefinition-us-core-location.yml
index a66463ce..4858ea2e 100644
--- a/input/resources-yaml-copy/StructureDefinition-us-core-location.yml
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-location.yml
@@ -1,11 +1,11 @@
resourceType: StructureDefinition
id: us-core-location
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-location
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location
name: USCoreLocation
title: US Core Location Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: This profile sets minimum expectations for the Location resource for
recording, searching, and fetching a "physical place of available services or resources." It
identifies which core elements, extensions, vocabularies, and value sets **SHALL**
@@ -34,7 +34,6 @@ differential:
mustSupport: true
- id: Location.status
path: Location.status
- short: active | suspended | inactive
mustSupport: true
- id: Location.name
path: Location.name
@@ -53,31 +52,26 @@ differential:
valueSet: http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
- id: Location.telecom
path: Location.telecom
- short: Contact details of the location
mustSupport: true
- id: Location.address
path: Location.address
- short: Physical location
mustSupport: true
mapping:
- identity: servd
map: n/a
- id: Location.address.line
path: Location.address.line
- short: Street name, number, direction & P.O. Box etc.
max: '*'
type:
- code: string
mustSupport: true
- id: Location.address.city
path: Location.address.city
- short: Name of city, town etc.
type:
- code: string
mustSupport: true
- id: Location.address.state
path: Location.address.state
- short: Sub-unit of country (abbreviations ok)
type:
- code: string
mustSupport: true
@@ -96,7 +90,6 @@ differential:
mustSupport: true
- id: Location.managingOrganization
path: Location.managingOrganization
- short: Organization responsible for provisioning and upkeep
type:
- code: Reference
targetProfile:
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-medicationrequest-compliance-extension.yml b/input/resources-yaml-copy/StructureDefinition-us-core-medication-adherence.yml
similarity index 83%
rename from input/resources-yaml-copy/StructureDefinition-us-core-medicationrequest-compliance-extension.yml
rename to input/resources-yaml-copy/StructureDefinition-us-core-medication-adherence.yml
index 423377a1..321d0f63 100644
--- a/input/resources-yaml-copy/StructureDefinition-us-core-medicationrequest-compliance-extension.yml
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-medication-adherence.yml
@@ -4,9 +4,10 @@ url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherenc
name: USCoreMedicationAdherenceExtension
title: US Core Medication Adherence Extension
status: active
-date: 2023-10-12
-description: A MedicationRequest extension representing whether the medication is
- or is not being consumed or administered.
+date: 2023-10-19
+description: A MedicationRequest extension representing reported adherence to prescribed
+ medication instructions. In other words, whether a medication was consumed according
+ to instructions.
fhirVersion: 4.0.1
kind: complex-type
abstract: false
@@ -20,11 +21,7 @@ differential:
element:
- id: Extension
path: Extension
- code:
- - system: http://loinc.org
- code: 71799-1
- display: Adherence to prescribed medication instructions [Reported]
- definition: Whether the medication is or is not being consumed or administered
+ definition: Reported adherence to prescribed medication instructions.
min: 0
max: '*'
- id: Extension.extension
@@ -38,14 +35,19 @@ differential:
- id: Extension.extension:medicationAdherence
path: Extension.extension
sliceName: medicationAdherence
- short: Code indicating whether the medication is or is not being consumed or administered
- definition: Code indicating whether the medication is or is not being consumed
- or administered
+ code:
+ - system: http://loinc.org
+ code: 71799-1
+ display: Adherence to prescribed medication instructions [Reported]
+ short: Medication adherence code
+ definition: Code stating whether the patient is consuming or being administered
+ the medication has according to instructions. For example, the patient in not
+ taking the medication as prescribed, or the patient is taking the medication
+ as prescribed.
min: 1
max: '1'
type:
- code: Extension
- mustSupport: true
- id: Extension.extension:medicationAdherence.url
path: Extension.extension.url
min: 1
@@ -62,7 +64,7 @@ differential:
binding:
strength: extensible
description: Medication Adherence Codes
- valueSet: http://hl7.org/fhir/us/core//ValueSet/medication-adherence
+ valueSet: http://hl7.org/fhir/us/core/ValueSet/medication-adherence
- id: Extension.extension:dateAsserted
path: Extension.extension
sliceName: dateAsserted
@@ -72,7 +74,6 @@ differential:
max: '1'
type:
- code: Extension
- mustSupport: true
- id: Extension.extension:dateAsserted.url
path: Extension.extension.url
min: 1
@@ -96,7 +97,6 @@ differential:
max: '*'
type:
- code: Extension
- mustSupport: true
- id: Extension.extension:informationSource.url
path: Extension.extension.url
min: 1
@@ -128,9 +128,10 @@ differential:
- extension:
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
valueBoolean: false
+ mustSupport: true
- id: Extension.url
path: Extension.url
- fixedUri: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension
+ fixedUri: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence
- id: Extension.value[x]
path: Extension.value[x]
min: 0
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-observation-lab.yml b/input/resources-yaml-copy/StructureDefinition-us-core-observation-lab.yml
index 40bb9ca5..397b134d 100644
--- a/input/resources-yaml-copy/StructureDefinition-us-core-observation-lab.yml
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-observation-lab.yml
@@ -1,11 +1,11 @@
resourceType: StructureDefinition
id: us-core-observation-lab
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-observation-lab
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
name: USCoreLaboratoryResultObservationProfile
title: US Core Laboratory Result Observation Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: "The US Core Laboratory Result Observation Profile is based upon the
US Core Observation Clinical Result Profile and, along with the US Core DiagnosticReport
Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability
@@ -31,7 +31,6 @@ differential:
- id: Observation.category:us-core
path: Observation.category
sliceName: us-core
- short: Classification of type of observation
min: 1
max: '1'
patternCodeableConcept:
@@ -111,7 +110,6 @@ differential:
valueSet: http://hl7.org/fhir/ValueSet/observation-interpretation
- id: Observation.specimen
path: Observation.specimen
- short: (USCDI) Specimen used for this observation
type:
- code: Reference
targetProfile:
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-patient.yml b/input/resources-yaml-copy/StructureDefinition-us-core-patient.yml
index e9bfbcaa..b0175400 100644
--- a/input/resources-yaml-copy/StructureDefinition-us-core-patient.yml
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-patient.yml
@@ -5,7 +5,7 @@ name: USCorePatientProfile
title: US Core Patient Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: The US Core Patient Profile meets the U.S. Core Data for Interoperability
(USCDI) v3 'Patient Demographics' requirements. This profile sets minimum expectations
for the Patient resource to record, search, and fetch basic demographics and other
@@ -34,7 +34,7 @@ differential:
map: Patient
- id: Patient.extension:race
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: race
@@ -52,7 +52,7 @@ differential:
map: Patient.extension
- id: Patient.extension:ethnicity
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: ethnicity
@@ -70,7 +70,7 @@ differential:
map: Patient.extension
- id: Patient.extension:tribalAffiliation
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: tribalAffiliation
@@ -99,7 +99,7 @@ differential:
map: Patient.extension
- id: Patient.extension:sex
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: sex
@@ -114,7 +114,7 @@ differential:
mustSupport: false
- id: Patient.extension:genderIdentity
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: genderIdentity
@@ -130,7 +130,6 @@ differential:
mustSupport: false
- id: Patient.identifier
path: Patient.identifier
- short: An identifier for this patient
min: 1
mustSupport: true
mapping:
@@ -138,7 +137,6 @@ differential:
map: Patient.identifier
- id: Patient.identifier.system
path: Patient.identifier.system
- short: The namespace for the identifier value
min: 1
mustSupport: true
mapping:
@@ -154,7 +152,6 @@ differential:
map: Patient.identifier.value
- id: Patient.name
path: Patient.name
- short: A name associated with the patient
min: 1
constraint:
- key: us-core-6
@@ -171,7 +168,7 @@ differential:
map: Patient.name
- id: Patient.name.use
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.name.use
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -179,7 +176,6 @@ differential:
| nickname | anonymous | old | maiden"
- id: Patient.name.family
path: Patient.name.family
- short: Family name (often called 'Surname')
condition:
- us-core-6
mustSupport: true
@@ -188,7 +184,6 @@ differential:
map: Patient.name.family
- id: Patient.name.given
path: Patient.name.given
- short: Given names (not always 'first'). Includes middle names
condition:
- us-core-6
mustSupport: true
@@ -197,7 +192,7 @@ differential:
map: Patient.name.given
- id: Patient.name.suffix
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.name.suffix
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -209,7 +204,7 @@ differential:
map: NA
- id: Patient.name.period
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.name.period
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -221,16 +216,18 @@ differential:
map: NA
- id: Patient.telecom
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.telecom
+ short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
+ \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A contact detail for the
+ individual"
mustSupport: false
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.telecom.system
path: Patient.telecom.system
- short: phone | fax | email | pager | url | sms | other
min: 1
mustSupport: true
binding:
@@ -242,7 +239,6 @@ differential:
map: NA
- id: Patient.telecom.value
path: Patient.telecom.value
- short: The actual contact point details
min: 1
mustSupport: true
mapping:
@@ -250,7 +246,6 @@ differential:
map: NA
- id: Patient.telecom.use
path: Patient.telecom.use
- short: home | work | temp | old | mobile - purpose of this contact point
mustSupport: true
binding:
strength: required
@@ -260,7 +255,6 @@ differential:
map: NA
- id: Patient.gender
path: Patient.gender
- short: male | female | other | unknown
min: 1
type:
- code: code
@@ -273,26 +267,27 @@ differential:
map: Patient.gender
- id: Patient.birthDate
path: Patient.birthDate
- short: The date of birth for the individual
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: Patient.birthDate
- id: Patient.deceased[x]
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.deceased[x]
+ short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
+ \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Indicates if the individual
+ is deceased or not"
- id: Patient.address
path: Patient.address
- short: An address for the individual
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: Patient.birthDate
- id: Patient.address.use
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.address.use
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -300,21 +295,18 @@ differential:
| billing - purpose of this address"
- id: Patient.address.line
path: Patient.address.line
- short: Street name, number, direction & P.O. Box etc.
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.address.city
path: Patient.address.city
- short: Name of city, town etc.
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.address.state
path: Patient.address.state
- short: Sub-unit of country (abbreviations ok)
mustSupport: true
binding:
strength: extensible
@@ -334,7 +326,7 @@ differential:
map: NA
- id: Patient.address.period
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.address.period
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -345,17 +337,18 @@ differential:
map: NA
- id: Patient.communication
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.communication
+ short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
+ \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A language which may be
+ used to communicate with the patient about his or her health"
mustSupport: false
mapping:
- identity: argonaut-dq-dstu2
map: Patient.communication
- 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
mustSupport: true
binding:
strength: extensible
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-procedure.yml b/input/resources-yaml-copy/StructureDefinition-us-core-procedure.yml
new file mode 100644
index 00000000..fcc0dd9c
--- /dev/null
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-procedure.yml
@@ -0,0 +1,108 @@
+resourceType: StructureDefinition
+id: us-core-procedure
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
+name: USCoreProcedureProfile
+title: US Core Procedure Profile
+status: active
+experimental: false
+date: 2023-10-19
+publisher: HL7 US Realm Steering Committee
+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 and constrains the way the elements
+ are used when using this profile. It provides the floor for standards development
+ for specific use cases.
+fhirVersion: 4.0.1
+kind: resource
+abstract: false
+type: Procedure
+baseDefinition: http://hl7.org/fhir/StructureDefinition/Procedure
+derivation: constraint
+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.basedOn
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
+ path: Procedure.basedOn
+ short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
+ \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A request for this procedure"
+ type:
+ - code: Reference
+ targetProfile:
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest
+ mustSupport: false
+ - 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.encounter
+ path: Procedure.encounter
+ short: Encounter associated with the procedure
+ type:
+ - code: Reference
+ targetProfile:
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
+ mustSupport: true
+ - 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]
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-specimen.yml b/input/resources-yaml-copy/StructureDefinition-us-core-specimen.yml
index 5a7cbdb1..e2499440 100644
--- a/input/resources-yaml-copy/StructureDefinition-us-core-specimen.yml
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-specimen.yml
@@ -1,11 +1,11 @@
resourceType: StructureDefinition
id: us-core-specimen
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-specimen
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen
name: USCoreSpecimenProfile
title: US Core Specimen Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: This profile sets minimum expectations for the Specimen resource to record,
search, and fetch "substances being sampled or tested. (e.g., nasopharyngeal swab,
whole blood, serum, urine, wound swab)" associated with a patient to promote interoperability
@@ -30,10 +30,6 @@ differential:
path: Specimen.identifier
short: Specimen identifier
mustSupport: true
- - id: Specimen.accessionIdentifier
- path: Specimen.accessionIdentifier
- short: Specimen identifier assigned by the lab
- mustSupport: true
- id: Specimen.type
path: Specimen.type
min: 1
@@ -53,7 +49,7 @@ differential:
path: Specimen.collection
- id: Specimen.collection.bodySite
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Specimen.collection.bodySite
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -65,7 +61,7 @@ differential:
valueSet: http://hl7.org/fhir/ValueSet/body-site
- id: Specimen.condition
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Specimen.condition
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-treatment-intervention-preference.yml b/input/resources-yaml-copy/StructureDefinition-us-core-treatment-intervention-preference.yml
index c883e3a8..040f7250 100644
--- a/input/resources-yaml-copy/StructureDefinition-us-core-treatment-intervention-preference.yml
+++ b/input/resources-yaml-copy/StructureDefinition-us-core-treatment-intervention-preference.yml
@@ -6,7 +6,7 @@ name: USCoreTreatmentInterventionPreferenceProfile
title: US Core Treatment Intervention Preference Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: To promote interoperability and adoption through common implementation,
this profile sets minimum expectations for the Observation resource to record, search,
and fetch for a patient's treatment intervention preferences. It is based on the
@@ -37,7 +37,7 @@ differential:
patternCodeableConcept:
coding:
- system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
- code: intervention-preference
+ code: treatment-intervention-preference
mustSupport: true
- id: Observation.code
path: Observation.code
@@ -47,11 +47,11 @@ differential:
patternCodeableConcept:
coding:
- system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
- code: intervention-preference
+ code: treatment-intervention-preference
mustSupport: true
- id: Observation.derivedFrom
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Observation.derivedFrom
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
diff --git a/input/resources-yaml-old/StructureDefinition-us-core-average-blood-pressure.yml b/input/resources-yaml-old/StructureDefinition-us-core-average-blood-pressure.yml
index b294de4d..5f1a3fe4 100644
--- a/input/resources-yaml-old/StructureDefinition-us-core-average-blood-pressure.yml
+++ b/input/resources-yaml-old/StructureDefinition-us-core-average-blood-pressure.yml
@@ -43,6 +43,8 @@ differential:
- system: http://loinc.org
code: 96607-7
mustSupport: true
+
+
- id: Observation.effective[x]
extension:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
@@ -50,17 +52,17 @@ differential:
path: Observation.effective[x]
short: (USCDI) clinically relevant time-period for the average of blood pressure (BP) readings
type:
- # - extension:
- # - url: >-
- # http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
- # valueBoolean: true
- # code: dateTime
- - extension:
+
+ - code: dateTime
+ - code: Period
+ extension:
- url: >-
http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
valueBoolean: true
- code: Period
+
mustSupport: true
+
+
- id: Observation.component
extension:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
diff --git a/input/resources-yaml-old/StructureDefinition-us-core-location.yml b/input/resources-yaml-old/StructureDefinition-us-core-location.yml
index c7a642ca..1a89d1d4 100644
--- a/input/resources-yaml-old/StructureDefinition-us-core-location.yml
+++ b/input/resources-yaml-old/StructureDefinition-us-core-location.yml
@@ -1,141 +1,116 @@
resourceType: StructureDefinition
id: us-core-location
-# url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-location
+url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'
name: USCoreLocation
title: US Core Location Profile
status: active
experimental: false
-date: 2023-08-06
-description: This profile sets minimum expectations for the Location resource for
- recording, searching, and fetching a "physical place of available services or resources." It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains how the elements are used when using the profile. It provides the floor for standards development for specific use cases to promote interoperability and adoption through common implementation.
+date: '2022-04-20'
+description: >-
+ This profile sets minimum expectations for the Location resource for
+ recording, searching, and fetching a "physical place of available services or
+ resources." It identifies which core elements, extensions, vocabularies, and
+ value sets **SHALL** be present and constrains how the elements are used when
+ using the profile. It provides the floor for standards development for
+ specific use cases to promote interoperability and adoption through common
+ implementation.
fhirVersion: 4.0.1
kind: resource
abstract: false
type: Location
-baseDefinition: http://hl7.org/fhir/StructureDefinition/Location
+baseDefinition: 'http://hl7.org/fhir/StructureDefinition/Location'
derivation: constraint
differential:
element:
- - id: Location
- path: Location
- definition: \-
- comment: \-
- mustSupport: false
- mapping:
- - identity: servd
- map: Organization
+ - id: Location
+ path: Location
+ definition: '\-'
+ comment: '\-'
+ mustSupport: false
+ mapping:
+ - identity: servd
+ map: Organization
-#=== new USCDI requirement ===
- - id: Location.identifier
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: Location.identifier
- short: (USCDI Requirement) Unique business identifier for facility or location.
- mustSupport: true
+ - id: Location.identifier
+ extension:
+ - url: 'http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement'
+ valueBoolean: true
+ path: Location.identifier
+ short: (USCDI Requirement) Unique business identifier for facility or location.
+ mustSupport: true
+ - id: Location.status
+ path: Location.status
+ mustSupport: true
- - id: Location.status
- # extension:
- # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- # valueBoolean: true
- path: Location.status
- short: active | suspended | inactive
- mustSupport: true
- - id: Location.name
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: Location.name
- short: (USCDI Requirement) Name by which a facility or location is known.
- min: 1
- mustSupport: true
- mapping:
- - identity: servd
- map: ./PrimaryAddress and ./OtherAddresses
+ - id: Location.name
+ extension:
+ - url: 'http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement'
+ valueBoolean: true
+ path: Location.name
+ short: (USCDI Requirement) Name by which a facility or location is known.
+ min: 1
+ mustSupport: true
+ mapping:
+ - identity: servd
+ map: ./PrimaryAddress and ./OtherAddresses
-#=== new USCDI requirement ===
- - id: Location.type
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: Location.type
- short: (USCDI Requirement) Category of service or resource available in a location.
- binding:
- strength: extensible
- valueSet: http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
- mustSupport: true
+ - id: Location.type
+ extension:
+ - url: 'http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement'
+ valueBoolean: true
+ path: Location.type
+ short: >-
+ (USCDI Requirement) Category of service or resource available in a
+ location.
+ mustSupport: true
+ binding:
+ strength: extensible
+ valueSet: 'http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType'
- - id: Location.telecom
- # extension:
- # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- # valueBoolean: true
- path: Location.telecom
- short: Contact details of the location
- mustSupport: true
- - id: Location.address
- # extension:
- # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- # valueBoolean: true
- path: Location.address
- short: Physical location
- mustSupport: true
- mapping:
- - identity: servd
- map: n/a
- - id: Location.address.line
- # extension:
- # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- # valueBoolean: true
- path: Location.address.line
- short: Street name, number, direction & P.O. Box etc.
- max: '*'
- type:
- - code: string
- mustSupport: true
- - id: Location.address.city
- # extension:
- # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- # valueBoolean: true
- path: Location.address.city
- short: Name of city, town etc.
- type:
- - code: string
- mustSupport: true
- - id: Location.address.state
- # extension:
- # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- # valueBoolean: true
- path: Location.address.state
- short: Sub-unit of country (abbreviations ok)
- 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
- # extension:
- # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- # valueBoolean: true
- path: Location.address.postalCode
- short: US Zip Codes
- type:
- - code: string
- mustSupport: true
- - id: Location.managingOrganization
- # extension:
- # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- # valueBoolean: true
- path: Location.managingOrganization
- short: Organization responsible for provisioning and upkeep
- type:
- - code: Reference
- targetProfile:
- - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
- mustSupport: true
\ No newline at end of file
+ - 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
diff --git a/input/resources-yaml-old/StructureDefinition-us-core-medicationrequest-compliance-extension.yml b/input/resources-yaml-old/StructureDefinition-us-core-medicationrequest-compliance-extension.yml
deleted file mode 100644
index e7de65c1..00000000
--- a/input/resources-yaml-old/StructureDefinition-us-core-medicationrequest-compliance-extension.yml
+++ /dev/null
@@ -1,168 +0,0 @@
-resourceType: StructureDefinition
-id: us-core-medication-adherence
-url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence
-# url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension
-name: USCoreMedicationAdherenceExtension
-title: US Core Medication Adherence Extension
-status: active
-date: '2023-09-23'
-description: A MedicationRequest extension representing whether the medication is or is not being consumed or administered.
-fhirVersion: '4.0.1'
-kind: complex-type
-abstract: false
-context:
-- type: element
- expression: MedicationRequest
-
-type: Extension
-baseDefinition: http://hl7.org/fhir/StructureDefinition/Extension
-derivation: constraint
-
-
-
-differential:
- element:
- - id: Extension
- path: Extension
- code:
- - system: 'http://loinc.org'
- code: 71799-1
- display: Adherence to prescribed medication instructions [Reported]
- definition: Whether the medication is or is not being consumed or administered
- min: 0
- max: '*'
-
- - id: Extension.extension
- path: Extension.extension
- slicing:
- discriminator:
- -
- type: value
- path: url
- rules: open
- min: 1
-
- - id: Extension.extension:medicationAdherence
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: Extension.extension
- sliceName: medicationAdherence
- short: (USCDI) Code indicating whether the medication is or is not being consumed or administered
- definition: Code indicating whether the medication is or is not being consumed or administered
- min: 1
- max: '1'
- type:
- - code: Extension
- mustSupport: true
-
- - id: Extension.extension:medicationAdherence.url
- path: Extension.extension.url
- min: 1
- max: '1'
- type:
- - code: uri
- fixedUri: medicationAdherence
-
-
- - id: Extension.extension:medicationAdherence.value[x]
- path: Extension.extension.value[x]
- min: 1
- max: '1'
- type:
- - code: CodeableConcept
- binding:
- strength: extensible
- description: Medication Adherence Codes
- valueSet: http://hl7.org/fhir/us/core//ValueSet/medication-adherence
-
- - id: Extension.extension:dateAsserted
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: Extension.extension
- sliceName: dateAsserted
- short: (USCDI) When the medication adherence was asserted
- definition: When the medication adherence was asserted by the information source
- min: 0
- max: '1'
- type:
- - code: Extension
- mustSupport: true
-
- - id: Extension.extension:dateAsserted.url
- path: Extension.extension.url
- min: 1
- max: '1'
- type:
- - code: uri
- fixedUri: dateAsserted
-
-
- - id: Extension.extension:dateAsserted.value[x]
- path: Extension.extension.value[x]
- min: 1
- max: '1'
- type:
- - code: dateTime
-
- - id: Extension.extension:informationSource
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: Extension.extension
- sliceName: informationSource
- short: (USCDI) Who provided the information about the medication adherence
- definition: The person or organization that provided the information about the medication adherence
- min: 0
- max: '*'
- type:
- - code: Extension
- mustSupport: true
-
- - id: Extension.extension:informationSource.url
- path: Extension.extension.url
- min: 1
- max: '1'
- type:
- - code: uri
- fixedUri: informationSource
-
-
- - id: Extension.extension:informationSource.value[x]
- path: Extension.extension.value[x]
- 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-practitionerrole
- - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
- - 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: false
-
-
-
-
- - id: Extension.url
- path: Extension.url
- fixedUri: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension
-
- - id: Extension.value[x]
- path: Extension.value[x]
- min: 0
- max: '0'
diff --git a/input/resources-yaml-old/StructureDefinition-us-core-observation-lab.yml b/input/resources-yaml-old/StructureDefinition-us-core-observation-lab.yml
index 0a9481ee..279f3a03 100644
--- a/input/resources-yaml-old/StructureDefinition-us-core-observation-lab.yml
+++ b/input/resources-yaml-old/StructureDefinition-us-core-observation-lab.yml
@@ -1,7 +1,6 @@
resourceType: StructureDefinition
id: us-core-observation-lab
-# url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-observation-lab
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
name: USCoreLaboratoryResultObservationProfile
title: US Core Laboratory Result Observation Profile
status: active
@@ -21,8 +20,6 @@ description: "The US Core Laboratory Result Observation Profile is based upon th
which core elements, extensions, vocabularies, and value sets SHALL be present in
the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development
for specific use cases."
-
-
fhirVersion: 4.0.1
kind: resource
abstract: false
@@ -109,6 +106,7 @@ differential:
mapping:
- identity: argonaut-dq-dstu2
map: Observation.value[x]
+
# =======New USCDI4 requirements ===========
- id: Observation.interpretation
extension:
@@ -125,6 +123,9 @@ differential:
# =======New USCDI4 requirements ===========
- id: Observation.specimen
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Observation.specimen
short: (USCDI) Specimen used for this observation
type:
@@ -132,6 +133,7 @@ differential:
targetProfile:
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen
mustSupport: true
+
# =======New USCDI4 requirements ===========
- id: Observation.referenceRange
extension:
@@ -142,3 +144,4 @@ differential:
comment: Upper and lower limit of test values expected for a designated population of individuals. Reference range values may differ by patient characteristics, laboratory test manufacturer and laboratory test performer.
mustSupport: true
# =======New USCDI4 requirements ===========
+
diff --git a/input/resources-yaml-old/StructureDefinition-us-core-patient.yml b/input/resources-yaml-old/StructureDefinition-us-core-patient.yml
index c23b6d2d..f778bace 100644
--- a/input/resources-yaml-old/StructureDefinition-us-core-patient.yml
+++ b/input/resources-yaml-old/StructureDefinition-us-core-patient.yml
@@ -36,8 +36,8 @@ differential:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
- sliceName: race
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) US Core Race Extension
+ sliceName: race
+ short: (USCDI) US Core Race Extension
min: 0
max: '1'
type:
@@ -54,7 +54,7 @@ differential:
valueBoolean: true
path: Patient.extension
sliceName: ethnicity
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) US Core ethnicity Extension
+ short: (USCDI) US Core ethnicity Extension
min: 0
max: '1'
type:
@@ -71,7 +71,7 @@ differential:
valueBoolean: true
path: Patient.extension
sliceName: tribalAffiliation
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Tribal Affiliation Extension
+ short: (USCDI) Tribal Affiliation Extension
min: 0
max: '*'
type:
@@ -105,7 +105,7 @@ differential:
valueBoolean: true
path: Patient.extension
sliceName: sex
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Sex Extension
+ short: (USCDI) Sex Extension
min: 0
max: '1'
type:
@@ -121,7 +121,7 @@ differential:
valueBoolean: true
path: Patient.extension
sliceName: genderIdentity
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) The individual's gender identity
+ short: (USCDI) The individual's gender identity
min: 0
max: '*'
type:
@@ -130,36 +130,44 @@ differential:
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity
mustSupport: false
- id: Patient.identifier
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.identifier
- short: An identifier for this patient
+ short: (USCDI) An identifier for this patient
min: 1
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: Patient.identifier
- id: Patient.identifier.system
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.identifier.system
- short: The namespace for the identifier value
+ short: (USCDI) The namespace for the identifier value
min: 1
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: Patient.identifier.system
- id: Patient.identifier.value
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.identifier.value
- short: The value that is unique within the system.
+ short: (USCDI) The value that is unique within the system.
min: 1
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: Patient.identifier.value
- id: Patient.name
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.name
- short: A name associated with the patient
+ short: (USCDI) A name associated with the patient
min: 1
constraint:
- key: us-core-6
@@ -179,11 +187,13 @@ differential:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.name.use
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) usual | official | temp | nickname | anonymous | old | maiden
+ short: (USCDI) usual | official | temp | nickname | anonymous | old | maiden
- id: Patient.name.family
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.name.family
- short: Family name (often called 'Surname')
+ short: (USCDI) Family name (often called 'Surname')
condition:
- us-core-6
mustSupport: true
@@ -191,9 +201,11 @@ differential:
- identity: argonaut-dq-dstu2
map: Patient.name.family
- id: Patient.name.given
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.name.given
- short: Given names (not always 'first'). Includes middle names
+ short: (USCDI) Given names (not always 'first'). Includes middle names
condition:
- us-core-6
mustSupport: true
@@ -201,9 +213,11 @@ differential:
- identity: argonaut-dq-dstu2
map: Patient.name.given
- id: Patient.name.suffix
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.name.suffix
- short: Parts that come after the name
+ short: (USCDI) Parts that come after the name
mustSupport: false
mapping:
- identity: argonaut-dq-dstu2
@@ -213,7 +227,7 @@ differential:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.name.period
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Time period when name was/is in use
+ short: (USCDI) Time period when name was/is in use
mustSupport: false
mapping:
- identity: argonaut-dq-dstu2
@@ -223,15 +237,17 @@ differential:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.telecom
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) A contact detail for the individual
+ short: (USCDI) A contact detail for the individual
mustSupport: false
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.telecom.system
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.telecom.system
- short: phone | fax | email | pager | url | sms | other
+ short: (USCDI) phone | fax | email | pager | url | sms | other
min: 1
mustSupport: true
binding:
@@ -242,18 +258,22 @@ differential:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.telecom.value
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.telecom.value
- short: The actual contact point details
+ short: (USCDI) The actual contact point details
min: 1
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.telecom.use
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.telecom.use
- short: home | work | temp | old | mobile - purpose of this
+ short: (USCDI) home | work | temp | old | mobile - purpose of this
contact point
mustSupport: true
binding:
@@ -263,9 +283,11 @@ differential:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.gender
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.gender
- short: male | female | other | unknown
+ short: (USCDI) male | female | other | unknown
min: 1
type:
- code: code
@@ -277,9 +299,11 @@ differential:
- identity: argonaut-dq-dstu2
map: Patient.gender
- id: Patient.birthDate
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.birthDate
- short: The date of birth for the individual
+ short: (USCDI) The date of birth for the individual
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
@@ -289,10 +313,13 @@ differential:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.deceased[x]
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Indicates if the individual is deceased or not
+ short: (USCDI) Indicates if the individual is deceased or not
- id: Patient.address
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.address
- short: An address for the individual
+ short: (USCDI) An address for the individual
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
@@ -302,28 +329,34 @@ differential:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.address.use
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) home | work | temp | old | billing - purpose of this
+ short: (USCDI) home | work | temp | old | billing - purpose of this
address
- id: Patient.address.line
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.address.line
- short: Street name, number, direction & P.O. Box etc.
+ short: (USCDI) Street name, number, direction & P.O. Box etc.
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.address.city
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.address.city
- short: Name of city, town etc.
+ short: (USCDI) Name of city, town etc.
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.address.state
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.address.state
- short: Sub-unit of country (abbreviations ok)
+ short: (USCDI) Sub-unit of country (abbreviations ok)
mustSupport: true
binding:
strength: extensible
@@ -333,9 +366,11 @@ differential:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.address.postalCode
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.address.postalCode
- short: US Zip Codes
+ short: (USCDI) US Zip Codes
alias:
- Zip Code
mustSupport: true
@@ -347,7 +382,7 @@ differential:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.address.period
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Time period when address was/is in use
+ short: (USCDI) Time period when address was/is in use
# mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
@@ -357,16 +392,18 @@ differential:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.communication
- short: ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) A language which may be used to communicate with the
+ short: (USCDI) A language which may be used to communicate with the
patient about his or her health
mustSupport: false
mapping:
- identity: argonaut-dq-dstu2
map: Patient.communication
- id: Patient.communication.language
-
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
path: Patient.communication.language
- short: The language which can be used to communicate with
+ short: (USCDI) The language which can be used to communicate with
the patient about his or her health
mustSupport: true
binding:
diff --git a/input/resources-yaml-old/StructureDefinition-us-core-procedure.yml b/input/resources-yaml-old/StructureDefinition-us-core-procedure.yml
new file mode 100644
index 00000000..e789fb59
--- /dev/null
+++ b/input/resources-yaml-old/StructureDefinition-us-core-procedure.yml
@@ -0,0 +1,132 @@
+resourceType: StructureDefinition
+id: us-core-procedure
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
+name: USCoreProcedureProfile
+title: US Core Procedure Profile
+status: active
+experimental: false
+date: 2022-04-20
+publisher: HL7 US Realm Steering Committee
+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 and constrains the way the elements are used when using this profile. It
+ provides the floor for standards development for specific use cases.
+fhirVersion: 4.0.1
+kind: resource
+abstract: false
+type: Procedure
+baseDefinition: http://hl7.org/fhir/StructureDefinition/Procedure
+derivation: constraint
+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.basedOn
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
+ path: Procedure.basedOn
+ short: (USCDI) A request for this procedure
+ type:
+ - code: Reference
+ targetProfile:
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest
+ mustSupport: false
+ - id: Procedure.status
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
+ path: Procedure.status
+ short: (USCDI) preparation | in-progress | not-done | on-hold | stopped
+ | completed | entered-in-error | unknown
+ 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
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
+ path: Procedure.code
+ short: (USCDI) Identification of the procedure
+ 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
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
+ path: Procedure.subject
+ short: (USCDI) Who the procedure was performed on
+ 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.encounter
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
+ path: Procedure.encounter
+ short: (USCDI) Encounter associated with the procedure
+ type:
+ - code: Reference
+ targetProfile:
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
+ mustSupport: true
+ # mapping:
+ # - identity: argonaut-dq-dstu2
+ # map: Procedure.encounter
+
+ - id: Procedure.performed[x]
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
+ path: Procedure.performed[x]
+ short: (USCDI) When the procedure was performed
+ 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]
diff --git a/input/resources-yaml-old/StructureDefinition-us-core-specimen.yml b/input/resources-yaml-old/StructureDefinition-us-core-specimen.yml
index 8f9fbaf0..722b7b88 100644
--- a/input/resources-yaml-old/StructureDefinition-us-core-specimen.yml
+++ b/input/resources-yaml-old/StructureDefinition-us-core-specimen.yml
@@ -1,13 +1,11 @@
resourceType: StructureDefinition
id: us-core-specimen
-# url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-specimen
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen
name: USCoreSpecimenProfile
title: US Core Specimen Profile
status: active
experimental: false
-date: 2023-08-04
-
+date: 2022-09-27
description: This profile sets minimum expectations for the Specimen resource to record,
search, and fetch "substances being sampled or tested. (e.g., nasopharyngeal swab,
whole blood, serum, urine, wound swab)" associated with a patient to promote interoperability
@@ -15,7 +13,6 @@ description: This profile sets minimum expectations for the Specimen resource to
extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when
using this profile. It provides the floor for standards development for specific
use cases.
-
fhirVersion: 4.0.1
kind: resource
abstract: false
@@ -40,14 +37,6 @@ differential:
mustSupport: true
# === New USCDI requirement ===
- - id: Specimen.accessionIdentifier
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: Specimen.accessionIdentifier
- short: (USCDI) Specimen identifier assigned by the lab
- mustSupport: true
-
- id: Specimen.type
extension:
- url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
@@ -104,4 +93,4 @@ differential:
binding:
strength: extensible
valueSet: http://terminology.hl7.org/ValueSet/v2-0493
- # mustSupport: true
\ No newline at end of file
+ # mustSupport: true
diff --git a/input/resources-yaml-old/StructureDefinition-us-core-treatment-intervention-preference.yml b/input/resources-yaml-old/StructureDefinition-us-core-treatment-intervention-preference.yml
index 46904839..9d4d26f2 100644
--- a/input/resources-yaml-old/StructureDefinition-us-core-treatment-intervention-preference.yml
+++ b/input/resources-yaml-old/StructureDefinition-us-core-treatment-intervention-preference.yml
@@ -44,7 +44,7 @@ differential:
patternCodeableConcept:
coding:
- system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category # get a LOINC code for this see stu note
- code: intervention-preference
+ code: treatment-intervention-preference
mustSupport: true
@@ -59,7 +59,7 @@ differential:
patternCodeableConcept:
coding:
- system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category # get a LOINC code for this see stu note
- code: intervention-preference
+ code: treatment-intervention-preference
mustSupport: true
# binding:
# strength: extensible
diff --git a/input/resources-yaml-old/StructureDefinition-uscore-medicationstatement.yml b/input/resources-yaml-old/StructureDefinition-uscore-medicationstatement.yml
deleted file mode 100644
index 921dcd03..00000000
--- a/input/resources-yaml-old/StructureDefinition-uscore-medicationstatement.yml
+++ /dev/null
@@ -1,254 +0,0 @@
-resourceType: StructureDefinition
-id: us-core-medicationstatement
-
-# url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement
-
-name: USCoreMedicationStatement
-title: US Core MedicationStatement
-status: active
-experimental: false
-date: '2023-08-15'
-
-description: >-
- Profile of MedicationStatement to support medication adherence - record of a
- statement of whether a medication has been consumed according to instructions.
-
- This profile sets minimum expectations for the MedicationStatement resource to record,
- search, and fetch a record of a statement of whether a medication has been consumed according to instructions. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases to promote interoperability and adoption through common implementation.
-
-fhirVersion: 4.0.1
-
-kind: resource
-abstract: false
-type: MedicationStatement
-baseDefinition: 'http://hl7.org/fhir/StructureDefinition/MedicationStatement'
-derivation: constraint
-
-differential:
- element:
- - id: MedicationStatement
- path: MedicationStatement
- mustSupport: false
-
-# ====== New R5 Med Adherence Extension Here ====
-
- - id: MedicationStatement.extension:med-adherence
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.extension
- sliceName: med-adherence
- short: (USCDI) Indicates whether the medication is or is not being consumed or administered
- definition: >-
- The FHIR R5 `Medication.adherence` extension to record medication adherence
- min: 0
- max: '1'
- type:
- - code: Extension
- profile:
- - http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationUsage.adherence
- mustSupport: false
-
-# ====== New R5 Med Adherence Extension Here ====
-
-# ====== New basedOn to reference the MedicationRequest Here ====
-
- - id: MedicationStatement.basedOn
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.basedOn
- short: (USCDI) plan, proposal or order this is fulfilling
- type:
- - code: Reference
- targetProfile:
- - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest
- - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan
- - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest
- _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
-
-# ====== New basedOn to reference the MedicationRequest Here ====
-
-
- - id: MedicationStatement.status
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
-
- valueBoolean: true
- path: MedicationStatement.status
- binding:
- strength: required
- # description: >-
- # A code specifying the state of the statement. Generally, this will be
- # active or completed state.
- valueSet: 'http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-medicationstatement-status'
- mustSupport: true
-
-
- - id: MedicationStatement.medication[x]
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.medication[x]
- short: (USCDI) Medication taken
- 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
-
- - id: MedicationStatement.subject
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.subject
- short: (USCDI) Who is/was taking the medication
- type:
- - code: Reference
- targetProfile:
- - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
- mustSupport: true
-
- - id: 'MedicationStatement.effective[x]'
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: 'MedicationStatement.effective[x]'
- short: (USCDI) The date/time or interval when the medication is/was/will be taken
- mustSupport: true
-
- - id: MedicationStatement.dateAsserted
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.dateAsserted
- short: (USCDI) When the statement was asserted
- # min: 1
- # max: '1'
- mustSupport: true
-
- - id: MedicationStatement.informationSource
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.informationSource
- short: (USCDI) Person or organization that provided the information about the taking of this medication
- 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: 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
-
-
- # - id: MedicationStatement.derivedFrom
- # path: MedicationStatement.derivedFrom
- # mustSupport: true
-
- - id: MedicationStatement.reasonCode
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.reasonCode
- short: (USCDI) Reason for why the medication is being/was taken
- binding:
- strength: extensible
- valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
-
- - id: MedicationStatement.reasonReference
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.reasonReference
- short: (USCDI) Condition or observation that supports why the medication is being/was taken
-
- #=== Use US Core Dosage ====
-
- - id: MedicationStatement.dosage
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.dosage
- short: (USCDI) How the medication should be taken
- mustSupport: true
- - id: MedicationStatement.dosage.text
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.dosage.text
- short: (USCDI) Free text dosage instructions e.g. SIG
- mustSupport: true
- - id: MedicationStatement.dosage.timing
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.dosage.timing
- short: (USCDI) When medication should be administered
- mustSupport: true
-
- - id: MedicationStatement.dosage.doseAndRate
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.dosage.doseAndRate
- short: (USCDI) Amount of medication administered
- mustSupport: true
-
- - id: MedicationStatement.dosage.doseAndRate.dose[x]
- extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
- valueBoolean: true
- path: MedicationStatement.dosage.doseAndRate.dose[x]
- short: (USCDI) Amount of medication per dose
- type:
- - extension:
- - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
- valueBoolean: true
- code: Quantity
- - code: Range
- mustSupport: true
- binding:
- extension:
- - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
- valueCanonical: http://hl7.org/fhir/ValueSet/ucum-units
- strength: preferred
- valueSet: http://hl7.org/fhir/ValueSet/ucum-common
-
diff --git a/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml b/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml
index 04dd4284..06a08c7f 100644
--- a/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml
+++ b/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml
@@ -5,7 +5,7 @@ name: USCoreAverageBloodPressureProfile
title: US Core Average Blood Pressure Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: To promote interoperability and adoption through common implementation,
this profile sets minimum expectations for the Observation resource to record, search,
and fetch average diastolic and systolic blood pressure observations with standard
@@ -41,6 +41,7 @@ differential:
short: clinically relevant time-period for the average of blood pressure (BP)
readings
type:
+ - code: dateTime
- extension:
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
valueBoolean: true
@@ -83,7 +84,6 @@ differential:
mustSupport: true
- id: Observation.component:systolic.valueQuantity.value
path: Observation.component.valueQuantity.value
- short: Numerical value (with implicit precision)
min: 1
max: '1'
type:
@@ -91,7 +91,6 @@ differential:
mustSupport: true
- id: Observation.component:systolic.valueQuantity.unit
path: Observation.component.valueQuantity.unit
- short: Unit representation
min: 1
max: '1'
type:
@@ -99,7 +98,6 @@ differential:
mustSupport: true
- id: Observation.component:systolic.valueQuantity.system
path: Observation.component.valueQuantity.system
- short: System that defines coded unit form
min: 1
max: '1'
type:
@@ -108,7 +106,6 @@ differential:
mustSupport: true
- id: Observation.component:systolic.valueQuantity.code
path: Observation.component.valueQuantity.code
- short: Coded form of the unit
min: 1
max: '1'
type:
@@ -140,7 +137,6 @@ differential:
mustSupport: true
- id: Observation.component:diastolic.valueQuantity.value
path: Observation.component.valueQuantity.value
- short: Numerical value (with implicit precision)
min: 1
max: '1'
type:
@@ -148,7 +144,6 @@ differential:
mustSupport: true
- id: Observation.component:diastolic.valueQuantity.unit
path: Observation.component.valueQuantity.unit
- short: Unit representation
min: 1
max: '1'
type:
@@ -156,7 +151,6 @@ differential:
mustSupport: true
- id: Observation.component:diastolic.valueQuantity.system
path: Observation.component.valueQuantity.system
- short: System that defines coded unit form
min: 1
max: '1'
type:
@@ -165,7 +159,6 @@ differential:
mustSupport: true
- id: Observation.component:diastolic.valueQuantity.code
path: Observation.component.valueQuantity.code
- short: Coded form of the unit
min: 1
max: '1'
type:
diff --git a/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml b/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml
index ef1f9180..7ea7b053 100644
--- a/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml
+++ b/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml
@@ -5,7 +5,7 @@ name: USCoreCareExperiencePreferenceProfile
title: US Core Care Experience Preference Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: To promote interoperability and adoption through common implementation,
this profile sets minimum expectations for the Observation resource to record, search,
and fetch for a patient's care experience preferences. It is based on the US Core
@@ -50,7 +50,7 @@ differential:
mustSupport: true
- id: Observation.derivedFrom
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Observation.derivedFrom
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
diff --git a/input/resources-yaml/StructureDefinition-us-core-location.yml b/input/resources-yaml/StructureDefinition-us-core-location.yml
index a66463ce..4858ea2e 100644
--- a/input/resources-yaml/StructureDefinition-us-core-location.yml
+++ b/input/resources-yaml/StructureDefinition-us-core-location.yml
@@ -1,11 +1,11 @@
resourceType: StructureDefinition
id: us-core-location
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-location
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location
name: USCoreLocation
title: US Core Location Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: This profile sets minimum expectations for the Location resource for
recording, searching, and fetching a "physical place of available services or resources." It
identifies which core elements, extensions, vocabularies, and value sets **SHALL**
@@ -34,7 +34,6 @@ differential:
mustSupport: true
- id: Location.status
path: Location.status
- short: active | suspended | inactive
mustSupport: true
- id: Location.name
path: Location.name
@@ -53,31 +52,26 @@ differential:
valueSet: http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
- id: Location.telecom
path: Location.telecom
- short: Contact details of the location
mustSupport: true
- id: Location.address
path: Location.address
- short: Physical location
mustSupport: true
mapping:
- identity: servd
map: n/a
- id: Location.address.line
path: Location.address.line
- short: Street name, number, direction & P.O. Box etc.
max: '*'
type:
- code: string
mustSupport: true
- id: Location.address.city
path: Location.address.city
- short: Name of city, town etc.
type:
- code: string
mustSupport: true
- id: Location.address.state
path: Location.address.state
- short: Sub-unit of country (abbreviations ok)
type:
- code: string
mustSupport: true
@@ -96,7 +90,6 @@ differential:
mustSupport: true
- id: Location.managingOrganization
path: Location.managingOrganization
- short: Organization responsible for provisioning and upkeep
type:
- code: Reference
targetProfile:
diff --git a/input/resources-yaml/StructureDefinition-us-core-medicationrequest-compliance-extension.yml b/input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml
similarity index 79%
rename from input/resources-yaml/StructureDefinition-us-core-medicationrequest-compliance-extension.yml
rename to input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml
index 423377a1..840b4efd 100644
--- a/input/resources-yaml/StructureDefinition-us-core-medicationrequest-compliance-extension.yml
+++ b/input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml
@@ -4,9 +4,10 @@ url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherenc
name: USCoreMedicationAdherenceExtension
title: US Core Medication Adherence Extension
status: active
-date: 2023-10-12
-description: A MedicationRequest extension representing whether the medication is
- or is not being consumed or administered.
+date: 2023-10-17
+description: A MedicationRequest extension representing reported adherence to prescribed
+ medication instructions. In other words, whether a medication was consumed according
+ to instructions.
fhirVersion: 4.0.1
kind: complex-type
abstract: false
@@ -20,11 +21,7 @@ differential:
element:
- id: Extension
path: Extension
- code:
- - system: http://loinc.org
- code: 71799-1
- display: Adherence to prescribed medication instructions [Reported]
- definition: Whether the medication is or is not being consumed or administered
+ definition: Reported adherence to prescribed medication instructions.
min: 0
max: '*'
- id: Extension.extension
@@ -34,13 +31,19 @@ differential:
- type: value
path: url
rules: open
- min: 1
+ min: 2
- id: Extension.extension:medicationAdherence
path: Extension.extension
sliceName: medicationAdherence
- short: Code indicating whether the medication is or is not being consumed or administered
- definition: Code indicating whether the medication is or is not being consumed
- or administered
+ code:
+ - system: http://loinc.org
+ code: 71799-1
+ display: Adherence to prescribed medication instructions [Reported]
+ short: Medication adherence code
+ definition: Code stating whether the patient is consuming or being administered
+ the medication has according to instructions. For example, the patient in not
+ taking the medication as prescribed, or the patient is taking the medication
+ as prescribed.
min: 1
max: '1'
type:
@@ -61,14 +64,14 @@ differential:
- code: CodeableConcept
binding:
strength: extensible
- description: Medication Adherence Codes
- valueSet: http://hl7.org/fhir/us/core//ValueSet/medication-adherence
+ description: This set of values contains terms representing whether a medication has been consumed according to instructions.
+ valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.59
- id: Extension.extension:dateAsserted
path: Extension.extension
sliceName: dateAsserted
short: When the medication adherence was asserted
definition: When the medication adherence was asserted by the information source
- min: 0
+ min: 1
max: '1'
type:
- code: Extension
@@ -118,19 +121,19 @@ differential:
_targetProfile:
- extension:
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
- valueBoolean: true
+ 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: true
+ valueBoolean: false
- extension:
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
valueBoolean: false
- id: Extension.url
path: Extension.url
- fixedUri: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension
+ fixedUri: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence
- id: Extension.value[x]
path: Extension.value[x]
min: 0
diff --git a/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml b/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml
index 40bb9ca5..397b134d 100644
--- a/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml
+++ b/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml
@@ -1,11 +1,11 @@
resourceType: StructureDefinition
id: us-core-observation-lab
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-observation-lab
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
name: USCoreLaboratoryResultObservationProfile
title: US Core Laboratory Result Observation Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: "The US Core Laboratory Result Observation Profile is based upon the
US Core Observation Clinical Result Profile and, along with the US Core DiagnosticReport
Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability
@@ -31,7 +31,6 @@ differential:
- id: Observation.category:us-core
path: Observation.category
sliceName: us-core
- short: Classification of type of observation
min: 1
max: '1'
patternCodeableConcept:
@@ -111,7 +110,6 @@ differential:
valueSet: http://hl7.org/fhir/ValueSet/observation-interpretation
- id: Observation.specimen
path: Observation.specimen
- short: (USCDI) Specimen used for this observation
type:
- code: Reference
targetProfile:
diff --git a/input/resources-yaml/StructureDefinition-us-core-patient.yml b/input/resources-yaml/StructureDefinition-us-core-patient.yml
index e9bfbcaa..b0175400 100644
--- a/input/resources-yaml/StructureDefinition-us-core-patient.yml
+++ b/input/resources-yaml/StructureDefinition-us-core-patient.yml
@@ -5,7 +5,7 @@ name: USCorePatientProfile
title: US Core Patient Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: The US Core Patient Profile meets the U.S. Core Data for Interoperability
(USCDI) v3 'Patient Demographics' requirements. This profile sets minimum expectations
for the Patient resource to record, search, and fetch basic demographics and other
@@ -34,7 +34,7 @@ differential:
map: Patient
- id: Patient.extension:race
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: race
@@ -52,7 +52,7 @@ differential:
map: Patient.extension
- id: Patient.extension:ethnicity
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: ethnicity
@@ -70,7 +70,7 @@ differential:
map: Patient.extension
- id: Patient.extension:tribalAffiliation
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: tribalAffiliation
@@ -99,7 +99,7 @@ differential:
map: Patient.extension
- id: Patient.extension:sex
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: sex
@@ -114,7 +114,7 @@ differential:
mustSupport: false
- id: Patient.extension:genderIdentity
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.extension
sliceName: genderIdentity
@@ -130,7 +130,6 @@ differential:
mustSupport: false
- id: Patient.identifier
path: Patient.identifier
- short: An identifier for this patient
min: 1
mustSupport: true
mapping:
@@ -138,7 +137,6 @@ differential:
map: Patient.identifier
- id: Patient.identifier.system
path: Patient.identifier.system
- short: The namespace for the identifier value
min: 1
mustSupport: true
mapping:
@@ -154,7 +152,6 @@ differential:
map: Patient.identifier.value
- id: Patient.name
path: Patient.name
- short: A name associated with the patient
min: 1
constraint:
- key: us-core-6
@@ -171,7 +168,7 @@ differential:
map: Patient.name
- id: Patient.name.use
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.name.use
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -179,7 +176,6 @@ differential:
| nickname | anonymous | old | maiden"
- id: Patient.name.family
path: Patient.name.family
- short: Family name (often called 'Surname')
condition:
- us-core-6
mustSupport: true
@@ -188,7 +184,6 @@ differential:
map: Patient.name.family
- id: Patient.name.given
path: Patient.name.given
- short: Given names (not always 'first'). Includes middle names
condition:
- us-core-6
mustSupport: true
@@ -197,7 +192,7 @@ differential:
map: Patient.name.given
- id: Patient.name.suffix
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.name.suffix
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -209,7 +204,7 @@ differential:
map: NA
- id: Patient.name.period
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.name.period
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -221,16 +216,18 @@ differential:
map: NA
- id: Patient.telecom
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.telecom
+ short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
+ \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A contact detail for the
+ individual"
mustSupport: false
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.telecom.system
path: Patient.telecom.system
- short: phone | fax | email | pager | url | sms | other
min: 1
mustSupport: true
binding:
@@ -242,7 +239,6 @@ differential:
map: NA
- id: Patient.telecom.value
path: Patient.telecom.value
- short: The actual contact point details
min: 1
mustSupport: true
mapping:
@@ -250,7 +246,6 @@ differential:
map: NA
- id: Patient.telecom.use
path: Patient.telecom.use
- short: home | work | temp | old | mobile - purpose of this contact point
mustSupport: true
binding:
strength: required
@@ -260,7 +255,6 @@ differential:
map: NA
- id: Patient.gender
path: Patient.gender
- short: male | female | other | unknown
min: 1
type:
- code: code
@@ -273,26 +267,27 @@ differential:
map: Patient.gender
- id: Patient.birthDate
path: Patient.birthDate
- short: The date of birth for the individual
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: Patient.birthDate
- id: Patient.deceased[x]
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.deceased[x]
+ short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
+ \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Indicates if the individual
+ is deceased or not"
- id: Patient.address
path: Patient.address
- short: An address for the individual
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: Patient.birthDate
- id: Patient.address.use
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.address.use
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -300,21 +295,18 @@ differential:
| billing - purpose of this address"
- id: Patient.address.line
path: Patient.address.line
- short: Street name, number, direction & P.O. Box etc.
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.address.city
path: Patient.address.city
- short: Name of city, town etc.
mustSupport: true
mapping:
- identity: argonaut-dq-dstu2
map: NA
- id: Patient.address.state
path: Patient.address.state
- short: Sub-unit of country (abbreviations ok)
mustSupport: true
binding:
strength: extensible
@@ -334,7 +326,7 @@ differential:
map: NA
- id: Patient.address.period
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.address.period
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -345,17 +337,18 @@ differential:
map: NA
- id: Patient.communication
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Patient.communication
+ short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
+ \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A language which may be
+ used to communicate with the patient about his or her health"
mustSupport: false
mapping:
- identity: argonaut-dq-dstu2
map: Patient.communication
- 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
mustSupport: true
binding:
strength: extensible
diff --git a/input/resources-yaml/StructureDefinition-us-core-procedure.yml b/input/resources-yaml/StructureDefinition-us-core-procedure.yml
new file mode 100644
index 00000000..fcc0dd9c
--- /dev/null
+++ b/input/resources-yaml/StructureDefinition-us-core-procedure.yml
@@ -0,0 +1,108 @@
+resourceType: StructureDefinition
+id: us-core-procedure
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
+name: USCoreProcedureProfile
+title: US Core Procedure Profile
+status: active
+experimental: false
+date: 2023-10-19
+publisher: HL7 US Realm Steering Committee
+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 and constrains the way the elements
+ are used when using this profile. It provides the floor for standards development
+ for specific use cases.
+fhirVersion: 4.0.1
+kind: resource
+abstract: false
+type: Procedure
+baseDefinition: http://hl7.org/fhir/StructureDefinition/Procedure
+derivation: constraint
+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.basedOn
+ extension:
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
+ valueBoolean: true
+ path: Procedure.basedOn
+ short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
+ \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A request for this procedure"
+ type:
+ - code: Reference
+ targetProfile:
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest
+ mustSupport: false
+ - 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.encounter
+ path: Procedure.encounter
+ short: Encounter associated with the procedure
+ type:
+ - code: Reference
+ targetProfile:
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
+ mustSupport: true
+ - 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]
diff --git a/input/resources-yaml/StructureDefinition-us-core-specimen.yml b/input/resources-yaml/StructureDefinition-us-core-specimen.yml
index 5a7cbdb1..e2499440 100644
--- a/input/resources-yaml/StructureDefinition-us-core-specimen.yml
+++ b/input/resources-yaml/StructureDefinition-us-core-specimen.yml
@@ -1,11 +1,11 @@
resourceType: StructureDefinition
id: us-core-specimen
-url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-specimen
+url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen
name: USCoreSpecimenProfile
title: US Core Specimen Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: This profile sets minimum expectations for the Specimen resource to record,
search, and fetch "substances being sampled or tested. (e.g., nasopharyngeal swab,
whole blood, serum, urine, wound swab)" associated with a patient to promote interoperability
@@ -30,10 +30,6 @@ differential:
path: Specimen.identifier
short: Specimen identifier
mustSupport: true
- - id: Specimen.accessionIdentifier
- path: Specimen.accessionIdentifier
- short: Specimen identifier assigned by the lab
- mustSupport: true
- id: Specimen.type
path: Specimen.type
min: 1
@@ -53,7 +49,7 @@ differential:
path: Specimen.collection
- id: Specimen.collection.bodySite
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Specimen.collection.bodySite
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
@@ -65,7 +61,7 @@ differential:
valueSet: http://hl7.org/fhir/ValueSet/body-site
- id: Specimen.condition
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Specimen.condition
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
diff --git a/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml b/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml
index c883e3a8..040f7250 100644
--- a/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml
+++ b/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml
@@ -6,7 +6,7 @@ name: USCoreTreatmentInterventionPreferenceProfile
title: US Core Treatment Intervention Preference Profile
status: active
experimental: false
-date: 2023-10-12
+date: 2023-10-19
description: To promote interoperability and adoption through common implementation,
this profile sets minimum expectations for the Observation resource to record, search,
and fetch for a patient's treatment intervention preferences. It is based on the
@@ -37,7 +37,7 @@ differential:
patternCodeableConcept:
coding:
- system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
- code: intervention-preference
+ code: treatment-intervention-preference
mustSupport: true
- id: Observation.code
path: Observation.code
@@ -47,11 +47,11 @@ differential:
patternCodeableConcept:
coding:
- system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
- code: intervention-preference
+ code: treatment-intervention-preference
mustSupport: true
- id: Observation.derivedFrom
extension:
- - url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi
+ - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
valueBoolean: true
path: Observation.derivedFrom
short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF
diff --git a/input/resources/StructureDefinition-us-core-average-blood-pressure.json b/input/resources/StructureDefinition-us-core-average-blood-pressure.json
index 28dcfeb3..bd7fce09 100644
--- a/input/resources/StructureDefinition-us-core-average-blood-pressure.json
+++ b/input/resources/StructureDefinition-us-core-average-blood-pressure.json
@@ -6,7 +6,7 @@
"title": "US Core Average Blood Pressure Profile",
"status": "active",
"experimental": false,
- "date": "2023-10-12",
+ "date": "2023-10-19",
"description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch average 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 which *additional* core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains the way the elements are used when using the profile. It provides the floor for standards development for specific use cases.",
"fhirVersion": "4.0.1",
"kind": "resource",
@@ -47,6 +47,9 @@
"path": "Observation.effective[x]",
"short": "clinically relevant time-period for the average of blood pressure (BP) readings",
"type": [
+ {
+ "code": "dateTime"
+ },
{
"extension": [
{
@@ -116,7 +119,6 @@
{
"id": "Observation.component:systolic.valueQuantity.value",
"path": "Observation.component.valueQuantity.value",
- "short": "Numerical value (with implicit precision)",
"min": 1,
"max": "1",
"type": [
@@ -129,7 +131,6 @@
{
"id": "Observation.component:systolic.valueQuantity.unit",
"path": "Observation.component.valueQuantity.unit",
- "short": "Unit representation",
"min": 1,
"max": "1",
"type": [
@@ -142,7 +143,6 @@
{
"id": "Observation.component:systolic.valueQuantity.system",
"path": "Observation.component.valueQuantity.system",
- "short": "System that defines coded unit form",
"min": 1,
"max": "1",
"type": [
@@ -156,7 +156,6 @@
{
"id": "Observation.component:systolic.valueQuantity.code",
"path": "Observation.component.valueQuantity.code",
- "short": "Coded form of the unit",
"min": 1,
"max": "1",
"type": [
@@ -206,7 +205,6 @@
{
"id": "Observation.component:diastolic.valueQuantity.value",
"path": "Observation.component.valueQuantity.value",
- "short": "Numerical value (with implicit precision)",
"min": 1,
"max": "1",
"type": [
@@ -219,7 +217,6 @@
{
"id": "Observation.component:diastolic.valueQuantity.unit",
"path": "Observation.component.valueQuantity.unit",
- "short": "Unit representation",
"min": 1,
"max": "1",
"type": [
@@ -232,7 +229,6 @@
{
"id": "Observation.component:diastolic.valueQuantity.system",
"path": "Observation.component.valueQuantity.system",
- "short": "System that defines coded unit form",
"min": 1,
"max": "1",
"type": [
@@ -246,7 +242,6 @@
{
"id": "Observation.component:diastolic.valueQuantity.code",
"path": "Observation.component.valueQuantity.code",
- "short": "Coded form of the unit",
"min": 1,
"max": "1",
"type": [
diff --git a/input/resources/StructureDefinition-us-core-care-experience-preference.json b/input/resources/StructureDefinition-us-core-care-experience-preference.json
index 64497d9d..f83d7507 100644
--- a/input/resources/StructureDefinition-us-core-care-experience-preference.json
+++ b/input/resources/StructureDefinition-us-core-care-experience-preference.json
@@ -6,7 +6,7 @@
"title": "US Core Care Experience Preference Profile",
"status": "active",
"experimental": false,
- "date": "2023-10-12",
+ "date": "2023-10-19",
"description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch for a patient's care experience preferences. It is based on the US Core Simple Profile and identifies which *additional* core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains the way the elements are used when using the profile. It provides the floor for standards development for specific use cases.",
"copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License",
"fhirVersion": "4.0.1",
@@ -63,7 +63,7 @@
"id": "Observation.derivedFrom",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
diff --git a/input/resources/StructureDefinition-us-core-location.json b/input/resources/StructureDefinition-us-core-location.json
index f26a65fe..1c7f906b 100644
--- a/input/resources/StructureDefinition-us-core-location.json
+++ b/input/resources/StructureDefinition-us-core-location.json
@@ -1,12 +1,12 @@
{
"resourceType": "StructureDefinition",
"id": "us-core-location",
- "url": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-location",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location",
"name": "USCoreLocation",
"title": "US Core Location Profile",
"status": "active",
"experimental": false,
- "date": "2023-10-12",
+ "date": "2023-10-19",
"description": "This profile sets minimum expectations for the Location resource for recording, searching, and fetching a \"physical place of available services or resources.\" It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains how the elements are used when using the profile. It provides the floor for standards development for specific use cases to promote interoperability and adoption through common implementation.",
"fhirVersion": "4.0.1",
"kind": "resource",
@@ -38,7 +38,6 @@
{
"id": "Location.status",
"path": "Location.status",
- "short": "active | suspended | inactive",
"mustSupport": true
},
{
@@ -67,13 +66,11 @@
{
"id": "Location.telecom",
"path": "Location.telecom",
- "short": "Contact details of the location",
"mustSupport": true
},
{
"id": "Location.address",
"path": "Location.address",
- "short": "Physical location",
"mustSupport": true,
"mapping": [
{
@@ -85,7 +82,6 @@
{
"id": "Location.address.line",
"path": "Location.address.line",
- "short": "Street name, number, direction & P.O. Box etc.",
"max": "*",
"type": [
{
@@ -97,7 +93,6 @@
{
"id": "Location.address.city",
"path": "Location.address.city",
- "short": "Name of city, town etc.",
"type": [
{
"code": "string"
@@ -108,7 +103,6 @@
{
"id": "Location.address.state",
"path": "Location.address.state",
- "short": "Sub-unit of country (abbreviations ok)",
"type": [
{
"code": "string"
@@ -141,7 +135,6 @@
{
"id": "Location.managingOrganization",
"path": "Location.managingOrganization",
- "short": "Organization responsible for provisioning and upkeep",
"type": [
{
"code": "Reference",
diff --git a/input/resources/StructureDefinition-us-core-medicationrequest-compliance-extension.json b/input/resources/StructureDefinition-us-core-medication-adherence.json
similarity index 86%
rename from input/resources/StructureDefinition-us-core-medicationrequest-compliance-extension.json
rename to input/resources/StructureDefinition-us-core-medication-adherence.json
index a88a3aa0..50de88f9 100644
--- a/input/resources/StructureDefinition-us-core-medicationrequest-compliance-extension.json
+++ b/input/resources/StructureDefinition-us-core-medication-adherence.json
@@ -5,8 +5,8 @@
"name": "USCoreMedicationAdherenceExtension",
"title": "US Core Medication Adherence Extension",
"status": "active",
- "date": "2023-10-12",
- "description": "A MedicationRequest extension representing whether the medication is or is not being consumed or administered.",
+ "date": "2023-10-17",
+ "description": "A MedicationRequest extension representing reported adherence to prescribed medication instructions. In other words, whether a medication was consumed according to instructions.",
"fhirVersion": "4.0.1",
"kind": "complex-type",
"abstract": false,
@@ -24,14 +24,7 @@
{
"id": "Extension",
"path": "Extension",
- "code": [
- {
- "system": "http://loinc.org",
- "code": "71799-1",
- "display": "Adherence to prescribed medication instructions [Reported]"
- }
- ],
- "definition": "Whether the medication is or is not being consumed or administered",
+ "definition": "Reported adherence to prescribed medication instructions.",
"min": 0,
"max": "*"
},
@@ -47,14 +40,21 @@
],
"rules": "open"
},
- "min": 1
+ "min": 2
},
{
"id": "Extension.extension:medicationAdherence",
"path": "Extension.extension",
"sliceName": "medicationAdherence",
- "short": "Code indicating whether the medication is or is not being consumed or administered",
- "definition": "Code indicating whether the medication is or is not being consumed or administered",
+ "code": [
+ {
+ "system": "http://loinc.org",
+ "code": "71799-1",
+ "display": "Adherence to prescribed medication instructions [Reported]"
+ }
+ ],
+ "short": "Medication adherence code",
+ "definition": "Code stating whether the patient is consuming or being administered the medication has according to instructions. For example, the patient in not taking the medication as prescribed, or the patient is taking the medication as prescribed.",
"min": 1,
"max": "1",
"type": [
@@ -88,8 +88,8 @@
],
"binding": {
"strength": "extensible",
- "description": "Medication Adherence Codes",
- "valueSet": "http://hl7.org/fhir/us/core//ValueSet/medication-adherence"
+ "description": "This set of values contains terms representing whether a medication has been consumed according to instructions.",
+ "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.59"
}
},
{
@@ -98,7 +98,7 @@
"sliceName": "dateAsserted",
"short": "When the medication adherence was asserted",
"definition": "When the medication adherence was asserted by the information source",
- "min": 0,
+ "min": 1,
"max": "1",
"type": [
{
@@ -176,7 +176,7 @@
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
- "valueBoolean": true
+ "valueBoolean": false
}
]
},
@@ -192,7 +192,7 @@
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
- "valueBoolean": true
+ "valueBoolean": false
}
]
},
@@ -211,7 +211,7 @@
{
"id": "Extension.url",
"path": "Extension.url",
- "fixedUri": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension"
+ "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence"
},
{
"id": "Extension.value[x]",
diff --git a/input/resources/StructureDefinition-us-core-observation-lab.json b/input/resources/StructureDefinition-us-core-observation-lab.json
index ae3d95ae..be7a03a5 100644
--- a/input/resources/StructureDefinition-us-core-observation-lab.json
+++ b/input/resources/StructureDefinition-us-core-observation-lab.json
@@ -1,12 +1,12 @@
{
"resourceType": "StructureDefinition",
"id": "us-core-observation-lab",
- "url": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-observation-lab",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab",
"name": "USCoreLaboratoryResultObservationProfile",
"title": "US Core Laboratory Result Observation Profile",
"status": "active",
"experimental": false,
- "date": "2023-10-12",
+ "date": "2023-10-19",
"description": "The US Core Laboratory Result Observation Profile is based upon the US Core Observation Clinical Result Profile and, along with the US Core DiagnosticReport Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability (USCDI) Laboratory requirements. Laboratory results are grouped and summarized using the DiagnosticReport resource, which references Observation resources. Each Observation resource represents an individual laboratory test and result value, a \u201cnested\u201d panel (such as a microbial susceptibility panel) that 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 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 and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.",
"fhirVersion": "4.0.1",
"kind": "resource",
@@ -20,7 +20,6 @@
"id": "Observation.category:us-core",
"path": "Observation.category",
"sliceName": "us-core",
- "short": "Classification of type of observation",
"min": 1,
"max": "1",
"patternCodeableConcept": {
@@ -155,7 +154,6 @@
{
"id": "Observation.specimen",
"path": "Observation.specimen",
- "short": "(USCDI) Specimen used for this observation",
"type": [
{
"code": "Reference",
diff --git a/input/resources/StructureDefinition-us-core-patient.json b/input/resources/StructureDefinition-us-core-patient.json
index c0431931..d100d77f 100644
--- a/input/resources/StructureDefinition-us-core-patient.json
+++ b/input/resources/StructureDefinition-us-core-patient.json
@@ -6,7 +6,7 @@
"title": "US Core Patient Profile",
"status": "active",
"experimental": false,
- "date": "2023-10-12",
+ "date": "2023-10-19",
"description": "The US Core Patient Profile meets the U.S. Core Data for Interoperability (USCDI) v3 '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 and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.",
"fhirVersion": "4.0.1",
"kind": "resource",
@@ -33,7 +33,7 @@
"id": "Patient.extension:race",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -62,7 +62,7 @@
"id": "Patient.extension:ethnicity",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -91,7 +91,7 @@
"id": "Patient.extension:tribalAffiliation",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -137,7 +137,7 @@
"id": "Patient.extension:sex",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -160,7 +160,7 @@
"id": "Patient.extension:genderIdentity",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -182,7 +182,6 @@
{
"id": "Patient.identifier",
"path": "Patient.identifier",
- "short": "An identifier for this patient",
"min": 1,
"mustSupport": true,
"mapping": [
@@ -195,7 +194,6 @@
{
"id": "Patient.identifier.system",
"path": "Patient.identifier.system",
- "short": "The namespace for the identifier value",
"min": 1,
"mustSupport": true,
"mapping": [
@@ -221,7 +219,6 @@
{
"id": "Patient.name",
"path": "Patient.name",
- "short": "A name associated with the patient",
"min": 1,
"constraint": [
{
@@ -244,7 +241,7 @@
"id": "Patient.name.use",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -254,7 +251,6 @@
{
"id": "Patient.name.family",
"path": "Patient.name.family",
- "short": "Family name (often called 'Surname')",
"condition": [
"us-core-6"
],
@@ -269,7 +265,6 @@
{
"id": "Patient.name.given",
"path": "Patient.name.given",
- "short": "Given names (not always 'first'). Includes middle names",
"condition": [
"us-core-6"
],
@@ -285,7 +280,7 @@
"id": "Patient.name.suffix",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -303,7 +298,7 @@
"id": "Patient.name.period",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -321,11 +316,12 @@
"id": "Patient.telecom",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
"path": "Patient.telecom",
+ "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: A contact detail for the individual",
"mustSupport": false,
"mapping": [
{
@@ -337,7 +333,6 @@
{
"id": "Patient.telecom.system",
"path": "Patient.telecom.system",
- "short": "phone | fax | email | pager | url | sms | other",
"min": 1,
"mustSupport": true,
"binding": {
@@ -355,7 +350,6 @@
{
"id": "Patient.telecom.value",
"path": "Patient.telecom.value",
- "short": "The actual contact point details",
"min": 1,
"mustSupport": true,
"mapping": [
@@ -368,7 +362,6 @@
{
"id": "Patient.telecom.use",
"path": "Patient.telecom.use",
- "short": "home | work | temp | old | mobile - purpose of this contact point",
"mustSupport": true,
"binding": {
"strength": "required",
@@ -384,7 +377,6 @@
{
"id": "Patient.gender",
"path": "Patient.gender",
- "short": "male | female | other | unknown",
"min": 1,
"type": [
{
@@ -406,7 +398,6 @@
{
"id": "Patient.birthDate",
"path": "Patient.birthDate",
- "short": "The date of birth for the individual",
"mustSupport": true,
"mapping": [
{
@@ -419,16 +410,16 @@
"id": "Patient.deceased[x]",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
- "path": "Patient.deceased[x]"
+ "path": "Patient.deceased[x]",
+ "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: Indicates if the individual is deceased or not"
},
{
"id": "Patient.address",
"path": "Patient.address",
- "short": "An address for the individual",
"mustSupport": true,
"mapping": [
{
@@ -441,7 +432,7 @@
"id": "Patient.address.use",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -451,7 +442,6 @@
{
"id": "Patient.address.line",
"path": "Patient.address.line",
- "short": "Street name, number, direction & P.O. Box etc.",
"mustSupport": true,
"mapping": [
{
@@ -463,7 +453,6 @@
{
"id": "Patient.address.city",
"path": "Patient.address.city",
- "short": "Name of city, town etc.",
"mustSupport": true,
"mapping": [
{
@@ -475,7 +464,6 @@
{
"id": "Patient.address.state",
"path": "Patient.address.state",
- "short": "Sub-unit of country (abbreviations ok)",
"mustSupport": true,
"binding": {
"strength": "extensible",
@@ -508,7 +496,7 @@
"id": "Patient.address.period",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -525,11 +513,12 @@
"id": "Patient.communication",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
"path": "Patient.communication",
+ "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: A language which may be used to communicate with the patient about his or her health",
"mustSupport": false,
"mapping": [
{
@@ -541,7 +530,6 @@
{
"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",
"mustSupport": true,
"binding": {
"strength": "extensible",
diff --git a/input/resources/StructureDefinition-us-core-procedure.json b/input/resources/StructureDefinition-us-core-procedure.json
new file mode 100644
index 00000000..b75a1a21
--- /dev/null
+++ b/input/resources/StructureDefinition-us-core-procedure.json
@@ -0,0 +1,169 @@
+{
+ "resourceType": "StructureDefinition",
+ "id": "us-core-procedure",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure",
+ "name": "USCoreProcedureProfile",
+ "title": "US Core Procedure Profile",
+ "status": "active",
+ "experimental": false,
+ "date": "2023-10-19",
+ "publisher": "HL7 US Realm Steering Committee",
+ "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 and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.",
+ "fhirVersion": "4.0.1",
+ "kind": "resource",
+ "abstract": false,
+ "type": "Procedure",
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
+ "derivation": "constraint",
+ "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.basedOn",
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
+ "valueBoolean": true
+ }
+ ],
+ "path": "Procedure.basedOn",
+ "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: A request for this procedure",
+ "type": [
+ {
+ "code": "Reference",
+ "targetProfile": [
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan",
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest"
+ ]
+ }
+ ],
+ "mustSupport": false
+ },
+ {
+ "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.encounter",
+ "path": "Procedure.encounter",
+ "short": "Encounter associated with the procedure",
+ "type": [
+ {
+ "code": "Reference",
+ "targetProfile": [
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"
+ ]
+ }
+ ],
+ "mustSupport": true
+ },
+ {
+ "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/input/resources/StructureDefinition-us-core-specimen.json b/input/resources/StructureDefinition-us-core-specimen.json
index e1ef0ade..2f372992 100644
--- a/input/resources/StructureDefinition-us-core-specimen.json
+++ b/input/resources/StructureDefinition-us-core-specimen.json
@@ -1,12 +1,12 @@
{
"resourceType": "StructureDefinition",
"id": "us-core-specimen",
- "url": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-specimen",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen",
"name": "USCoreSpecimenProfile",
"title": "US Core Specimen Profile",
"status": "active",
"experimental": false,
- "date": "2023-10-12",
+ "date": "2023-10-19",
"description": "This profile sets minimum expectations for the Specimen resource to record, search, and fetch \"substances being sampled or tested. (e.g., nasopharyngeal swab, whole blood, serum, urine, wound swab)\" 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 and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.",
"fhirVersion": "4.0.1",
"kind": "resource",
@@ -29,12 +29,6 @@
"short": "Specimen identifier",
"mustSupport": true
},
- {
- "id": "Specimen.accessionIdentifier",
- "path": "Specimen.accessionIdentifier",
- "short": "Specimen identifier assigned by the lab",
- "mustSupport": true
- },
{
"id": "Specimen.type",
"path": "Specimen.type",
@@ -67,7 +61,7 @@
"id": "Specimen.collection.bodySite",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
@@ -83,7 +77,7 @@
"id": "Specimen.condition",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
diff --git a/input/resources/StructureDefinition-us-core-treatment-intervention-preference.json b/input/resources/StructureDefinition-us-core-treatment-intervention-preference.json
index c4c0a464..53e9e91f 100644
--- a/input/resources/StructureDefinition-us-core-treatment-intervention-preference.json
+++ b/input/resources/StructureDefinition-us-core-treatment-intervention-preference.json
@@ -7,7 +7,7 @@
"title": "US Core Treatment Intervention Preference Profile",
"status": "active",
"experimental": false,
- "date": "2023-10-12",
+ "date": "2023-10-19",
"description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch for a patient's treatment intervention preferences. It is based on the US Core Simple Profile and identifies which *additional* core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains the way the elements are used when using the profile. It provides the floor for standards development for specific use cases.",
"copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License",
"fhirVersion": "4.0.1",
@@ -35,7 +35,7 @@
"coding": [
{
"system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category",
- "code": "intervention-preference"
+ "code": "treatment-intervention-preference"
}
]
},
@@ -54,7 +54,7 @@
"coding": [
{
"system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category",
- "code": "intervention-preference"
+ "code": "treatment-intervention-preference"
}
]
},
@@ -64,7 +64,7 @@
"id": "Observation.derivedFrom",
"extension": [
{
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-uscdi",
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement",
"valueBoolean": true
}
],
diff --git a/input/resources/assessments-valuesets.xlsx b/input/resources/assessments-valuesets.xlsx
deleted file mode 100644
index 1b14a0aa..00000000
Binary files a/input/resources/assessments-valuesets.xlsx and /dev/null differ
diff --git a/remove-USCDI-extensions.ipynb b/remove-USCDI-extensions.ipynb
index 3630f0fa..e06ead23 100644
--- a/remove-USCDI-extensions.ipynb
+++ b/remove-USCDI-extensions.ipynb
@@ -16,41 +16,18 @@
},
{
"cell_type": "code",
- "execution_count": 1,
- "metadata": {},
- "outputs": [],
- "source": [
- "##### DO THIS ONCE TO preserve the original files ####\n",
- "##### DON'T RUN THIS AGAIN ####\n",
- "\n",
- "# !cp /Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml/Struct*.yml /Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {},
- "outputs": [],
- "source": [
- "##### To Start Over ####\n",
- "\n",
- "!cp /Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/Struct*.yml /Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
+ "execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
- "('2023-10-11',\n",
- " PosixPath('/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old'),\n",
- " PosixPath('/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml'))"
+ "('2023-10-17',\n",
+ " PosixPath('/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml'),\n",
+ " PosixPath('/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml-old'))"
]
},
- "execution_count": 3,
+ "execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
@@ -61,122 +38,202 @@
"from pathlib import Path\n",
"from copy import deepcopy\n",
"from datetime import datetime\n",
+ "from fhir.resources.structuredefinition import StructureDefinition\n",
+ "from re import sub\n",
"\n",
- "in_path = Path(r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old')\n",
- "R4_path = Path(r'/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package')\n",
- "\n",
- "out_path = Path(r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml')\n",
+ "my_path = r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input'\n",
+ "# my_path = r'/Users/ehaas/Documents/FHIR/US-Core/input'\n",
+ "in_path = Path(my_path) / 'resources-yaml'\n",
+ "out_path = Path(my_path) / 'resources-yaml-old'\n",
+ "# out_path.mkdir(parents=True, exist_ok=True)\n",
+ "#create out_path using pathlib Path.mkdir(parents=True, exist_ok=True)\n",
"\n",
+ "R4_path = Path(r'/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package')\n",
"\n",
"today = datetime.today().strftime('%Y-%m-%d')\n",
- "today, in_path, out_path"
+ "today, in_path , out_path"
]
},
{
"cell_type": "code",
- "execution_count": 4,
+ "execution_count": 6,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "('2023-10-11',\n",
- " PosixPath('/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old'),\n",
- " PosixPath('/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml'))"
- ]
- },
- "execution_count": 4,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
- "from yaml import load as yload, dump as ydump, Loader\n",
- "from json import loads, dumps\n",
- "from pathlib import Path\n",
- "from copy import deepcopy\n",
- "from datetime import datetime\n",
- "\n",
- "in_path = Path(r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old')\n",
- "R4_path = Path(r'/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package')\n",
- "\n",
- "out_path = Path(r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml')\n",
- "\n",
- "\n",
- "today = datetime.today().strftime('%Y-%m-%d')\n",
- "today, in_path, out_path"
+ "# %%bash -s \"$in_path\" \"$out_path\"\n",
+ "# ##### DO THIS ONCE TO preserve the original files copy resources-yaml to resources-yaml-old####\n",
+ "# ##### DON'T RUN THIS AGAIN ####\n",
+ "# my_path='/Users/ehaas/Documents/FHIR/US-Core/input'\n",
+ "# echo $my_path\n",
+ "# cp $1/Struct*.yml $2"
]
},
{
"cell_type": "code",
- "execution_count": 5,
+ "execution_count": 7,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "%%bash -s \"$in_path\" \"$out_path\"\n",
+ "##### To Start Over copy resources-yaml-old to resources-yaml####\n",
+ "cp $2/Struct*.yml $1"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-us-core-specimen.yml***********\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-sex.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-specimen.yml***********\n",
"☞ ☞ ☞ Type = Specimen\n",
"☞ ☞ ☞ element 0: Specimen\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
"☞ ☞ ☞ element 1: Specimen.identifier\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) Specimen identifier to Specimen identifier\n",
"❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Specimen.json, Specimen======\n",
+ "(element['id'] = Specimen) == (element_path = Specimen.identifier)? False❗❗❗\n",
+ "(element['id'] = Specimen.identifier) == (element_path = Specimen.identifier)? True❗❗❗\n",
"❓ ❓ ❓ Is the short 'Specimen identifier' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Specimen.accessionIdentifier\n",
- "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
- "❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Specimen identifier assigned by the lab to Specimen identifier assigned by the lab\n",
- "❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Specimen identifier assigned by the lab' the same as the base - False ❗❗❗\n",
- "❗❗❗ done with element\n",
- "----------\n",
- "☞ ☞ ☞ element 3: Specimen.type\n",
+ "☞ ☞ ☞ element 2: Specimen.type\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) Kind of material that forms the specimen to Kind of material that forms the specimen\n",
"❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Specimen.json, Specimen======\n",
+ "(element['id'] = Specimen) == (element_path = Specimen.type)? False❗❗❗\n",
+ "(element['id'] = Specimen.identifier) == (element_path = Specimen.type)? False❗❗❗\n",
+ "(element['id'] = Specimen.accessionIdentifier) == (element_path = Specimen.type)? False❗❗❗\n",
+ "(element['id'] = Specimen.status) == (element_path = Specimen.type)? False❗❗❗\n",
+ "(element['id'] = Specimen.type) == (element_path = Specimen.type)? True❗❗❗\n",
"❓ ❓ ❓ Is the short 'Kind of material that forms the specimen' the same as the base - True ❗❗❗\n",
"❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Specimen.subject\n",
+ "☞ ☞ ☞ element 3: Specimen.subject\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) The patient where the specimen came from. to The patient where the specimen came from.\n",
"❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Specimen.json, Specimen======\n",
+ "(element['id'] = Specimen) == (element_path = Specimen.subject)? False❗❗❗\n",
+ "(element['id'] = Specimen.identifier) == (element_path = Specimen.subject)? False❗❗❗\n",
+ "(element['id'] = Specimen.accessionIdentifier) == (element_path = Specimen.subject)? False❗❗❗\n",
+ "(element['id'] = Specimen.status) == (element_path = Specimen.subject)? False❗❗❗\n",
+ "(element['id'] = Specimen.type) == (element_path = Specimen.subject)? False❗❗❗\n",
+ "(element['id'] = Specimen.subject) == (element_path = Specimen.subject)? True❗❗❗\n",
"❓ ❓ ❓ Is the short 'The patient where the specimen came from.' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Specimen.collection\n",
+ "☞ ☞ ☞ element 4: Specimen.collection\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) Collection details to Collection details\n",
"❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Specimen.json, Specimen======\n",
+ "(element['id'] = Specimen) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.identifier) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.accessionIdentifier) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.status) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.type) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.subject) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.receivedTime) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.parent) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.request) == (element_path = Specimen.collection)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection) == (element_path = Specimen.collection)? True❗❗❗\n",
"❓ ❓ ❓ Is the short 'Collection details' the same as the base - True ❗❗❗\n",
"❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Specimen.collection.bodySite\n",
+ "☞ ☞ ☞ element 5: Specimen.collection.bodySite\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) Specimen Source Site to Specimen Source Site\n",
"❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Specimen.json, Specimen======\n",
+ "(element['id'] = Specimen) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.identifier) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.accessionIdentifier) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.status) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.type) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.subject) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.receivedTime) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.parent) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.request) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.collector) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.collected[x]) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.duration) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.quantity) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.method) == (element_path = Specimen.collection.bodySite)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.bodySite) == (element_path = Specimen.collection.bodySite)? True❗❗❗\n",
"❓ ❓ ❓ Is the short 'Specimen Source Site' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Specimen.condition\n",
+ "☞ ☞ ☞ element 6: Specimen.condition\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) Specimen condition acceptability to Specimen condition acceptability\n",
"❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Specimen.json, Specimen======\n",
+ "(element['id'] = Specimen) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.identifier) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.accessionIdentifier) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.status) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.type) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.subject) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.receivedTime) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.parent) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.request) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.collector) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.collected[x]) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.duration) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.quantity) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.method) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.bodySite) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.collection.fastingStatus[x]) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.processing) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.processing.description) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.processing.procedure) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.processing.additive) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.processing.time[x]) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.container) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.container.identifier) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.container.description) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.container.type) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.container.capacity) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.container.specimenQuantity) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.container.additive[x]) == (element_path = Specimen.condition)? False❗❗❗\n",
+ "(element['id'] = Specimen.condition) == (element_path = Specimen.condition)? True❗❗❗\n",
"❓ ❓ ❓ Is the short 'Specimen condition acceptability' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
@@ -184,121 +241,611 @@
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-us-core-medicationrequest-compliance-extension.yml***********\n",
- "☞ ☞ ☞ Type = Extension\n",
- "☞ ☞ ☞ element 0: Extension\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-pregnancystatus.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Extension.extension\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Extension.extension:medicationAdherence\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Code indicating whether the medication is or is not being consumed or administered to Code indicating whether the medication is or is not being consumed or administered\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Code indicating whether the medication is or is not being consumed or administered' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Extension.extension:medicationAdherence.url\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 3: Observation.category:SocialHistory\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Extension.extension:medicationAdherence.value[x]\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Pregnancy Status to Pregnancy Status\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Pregnancy Status' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Extension.extension:dateAsserted\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) When the medication adherence was asserted to When the medication adherence was asserted\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'When the medication adherence was asserted' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Extension.extension:dateAsserted.url\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 6: Observation.effectiveDateTime\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinically relevant time/time-period for observation to Clinically relevant time/time-period for observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinically relevant time/time-period for observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Extension.extension:dateAsserted.value[x]\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 7: Observation.valueCodeableConcept\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded Responses from Pregnancy Status Value Set to Coded Responses from Pregnancy Status Value Set\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded Responses from Pregnancy Status Value Set' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: Extension.extension:informationSource\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-occupation.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Who provided the information about the medication adherence to Who provided the information about the medication adherence\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Who provided the information about the medication adherence' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: Extension.extension:informationSource.url\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: Extension.extension:informationSource.value[x]\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 3: Observation.category:socialhistory\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 11: Extension.url\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Occupation history to Occupation history\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Occupation history' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 12: Extension.value[x]\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.effectivePeriod\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinically relevant time/time-period for observation to Clinically relevant time/time-period for observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinically relevant time/time-period for observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.valueCodeableConcept\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded occupation or text to Coded occupation or text\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded occupation or text' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.component\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Component results to Component results\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Component results' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.component:industry\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Occupation industry to Occupation industry\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Occupation industry' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.component:industry.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Occupation industry history to Occupation industry history\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Occupation industry history' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.component:industry.valueCodeableConcept\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Occupation industry or text to Occupation industry or text\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Occupation industry or text' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-us-core-care-experience-preference.yml***********\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-sexual-orientation.yml***********\n",
"☞ ☞ ☞ Type = Observation\n",
"☞ ☞ ☞ element 0: Observation\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Observation.category:us-core\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
"☞ ☞ ☞ element 2: Observation.code\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Sexual Orientation to Sexual Orientation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Sexual Orientation' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Observation.derivedFrom\n",
+ "☞ ☞ ☞ element 3: Observation.subject\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (ADD'L USCDI) US Core Profiles or other resource the observation is made from to US Core Profiles or other resource the observation is made from\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'US Core Profiles or other resource the observation is made from' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.effective[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinically relevant time/time-period for observation to Clinically relevant time/time-period for observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinically relevant time/time-period for observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueCodeableConcept\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Sexual Orientation to Sexual Orientation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Sexual Orientation' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-us-core-treatment-intervention-preference.yml***********\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-birthsex.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml***********\n",
"☞ ☞ ☞ Type = Observation\n",
"☞ ☞ ☞ element 0: Observation\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
"☞ ☞ ☞ element 1: Observation.category:us-core\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
"☞ ☞ ☞ element 2: Observation.code\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
"☞ ☞ ☞ element 3: Observation.derivedFrom\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (ADD'L USCDI) US Core Profiles or other resource the observation is made from to US Core Profiles or other resource the observation is made from\n",
"❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.derivedFrom)? True❗❗❗\n",
"❓ ❓ ❓ Is the short 'US Core Profiles or other resource the observation is made from' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
@@ -306,579 +853,14571 @@
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-us-core-location.yml***********\n",
- "☞ ☞ ☞ Type = Location\n",
- "☞ ☞ ☞ element 0: Location\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-careplan.yml***********\n",
+ "☞ ☞ ☞ Type = CarePlan\n",
+ "☞ ☞ ☞ element 0: CarePlan\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Location.identifier\n",
+ "☞ ☞ ☞ element 1: CarePlan.text\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI Requirement) Unique business identifier for facility or location. to Unique business identifier for facility or location.\n",
+ " 👀 modify (USCDI) Text summary of the resource, for human interpretation to Text summary of the resource, for human interpretation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Unique business identifier for facility or location.' the same as the base - False ❗❗❗\n",
- "❗❗❗ done with element\n",
- "----------\n",
- "☞ ☞ ☞ element 2: Location.status\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CarePlan.json, CarePlan======\n",
+ "(element['id'] = CarePlan) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.identifier) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesCanonical) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesUri) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.basedOn) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.replaces) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.partOf) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.status) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.intent) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.category) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.title) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.description) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.subject) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.encounter) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.period) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.created) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.author) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.contributor) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.careTeam) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.addresses) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.supportingInfo) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.goal) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.outcomeCodeableConcept) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.outcomeReference) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.progress) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.reference) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.kind) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.instantiatesCanonical) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.instantiatesUri) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.code) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.reasonCode) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.reasonReference) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.goal) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.status) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.statusReason) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.doNotPerform) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.scheduled[x]) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.location) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.performer) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.product[x]) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.dailyAmount) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.quantity) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.description) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "(element['id'] = CarePlan.note) == (element_path = CarePlan.text)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CarePlan.text\n",
+ "parent_element_path = CarePlan datatype_element_path = text\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Location.name\n",
+ "☞ ☞ ☞ element 2: CarePlan.text.status\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI Requirement) Name by which a facility or location is known. to Name by which a facility or location is known.\n",
+ " 👀 modify (USCDI) generated | extensions | additional | empty to generated | extensions | additional | empty\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Name by which a facility or location is known.' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CarePlan.json, CarePlan======\n",
+ "(element['id'] = CarePlan) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.identifier) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesCanonical) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesUri) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.basedOn) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.replaces) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.partOf) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.status) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.intent) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.category) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.title) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.description) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.subject) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.encounter) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.period) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.created) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.author) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.contributor) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.careTeam) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.addresses) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.supportingInfo) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.goal) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.outcomeCodeableConcept) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.outcomeReference) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.progress) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.reference) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.kind) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.instantiatesCanonical) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.instantiatesUri) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.code) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.reasonCode) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.reasonReference) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.goal) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.status) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.statusReason) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.doNotPerform) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.scheduled[x]) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.location) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.performer) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.product[x]) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.dailyAmount) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.quantity) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.description) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.note) == (element_path = CarePlan.text.status)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CarePlan.text.status\n",
+ "parent_element_path = CarePlan.text datatype_element_path = status\n",
+ "❓ ❓ ❓ Is the short 'generated | extensions | additional | empty' the same as the base - None ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Location.type\n",
+ "☞ ☞ ☞ element 3: CarePlan.text.div\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI Requirement) Category of service or resource available in a location. to Category of service or resource available in a location.\n",
+ " 👀 modify (USCDI) Limited xhtml content to Limited xhtml content\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Category of service or resource available in a location.' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CarePlan.json, CarePlan======\n",
+ "(element['id'] = CarePlan) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.identifier) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesCanonical) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesUri) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.basedOn) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.replaces) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.partOf) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.status) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.intent) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.category) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.title) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.description) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.subject) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.encounter) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.period) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.created) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.author) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.contributor) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.careTeam) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.addresses) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.supportingInfo) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.goal) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.outcomeCodeableConcept) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.outcomeReference) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.progress) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.reference) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.kind) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.instantiatesCanonical) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.instantiatesUri) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.code) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.reasonCode) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.reasonReference) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.goal) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.status) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.statusReason) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.doNotPerform) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.scheduled[x]) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.location) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.performer) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.product[x]) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.dailyAmount) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.quantity) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.activity.detail.description) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "(element['id'] = CarePlan.note) == (element_path = CarePlan.text.div)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CarePlan.text.div\n",
+ "parent_element_path = CarePlan.text datatype_element_path = div\n",
+ "❓ ❓ ❓ Is the short 'Limited xhtml content' the same as the base - None ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Location.telecom\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 6: Location.address\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 7: Location.address.line\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 4: CarePlan.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) draft | active | on-hold | revoked | completed | entered-in-error | unknown to draft | active | on-hold | revoked | completed | entered-in-error | unknown\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CarePlan.json, CarePlan======\n",
+ "(element['id'] = CarePlan) == (element_path = CarePlan.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.identifier) == (element_path = CarePlan.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesCanonical) == (element_path = CarePlan.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesUri) == (element_path = CarePlan.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.basedOn) == (element_path = CarePlan.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.replaces) == (element_path = CarePlan.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.partOf) == (element_path = CarePlan.status)? False❗❗❗\n",
+ "(element['id'] = CarePlan.status) == (element_path = CarePlan.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'draft | active | on-hold | revoked | completed | entered-in-error | unknown' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: Location.address.city\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 5: CarePlan.intent\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) proposal | plan | order | option to proposal | plan | order | option\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CarePlan.json, CarePlan======\n",
+ "(element['id'] = CarePlan) == (element_path = CarePlan.intent)? False❗❗❗\n",
+ "(element['id'] = CarePlan.identifier) == (element_path = CarePlan.intent)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesCanonical) == (element_path = CarePlan.intent)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesUri) == (element_path = CarePlan.intent)? False❗❗❗\n",
+ "(element['id'] = CarePlan.basedOn) == (element_path = CarePlan.intent)? False❗❗❗\n",
+ "(element['id'] = CarePlan.replaces) == (element_path = CarePlan.intent)? False❗❗❗\n",
+ "(element['id'] = CarePlan.partOf) == (element_path = CarePlan.intent)? False❗❗❗\n",
+ "(element['id'] = CarePlan.status) == (element_path = CarePlan.intent)? False❗❗❗\n",
+ "(element['id'] = CarePlan.intent) == (element_path = CarePlan.intent)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'proposal | plan | order | option' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: Location.address.state\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 6: CarePlan.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of plan to Type of plan\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CarePlan.json, CarePlan======\n",
+ "(element['id'] = CarePlan) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.identifier) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesCanonical) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesUri) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.basedOn) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.replaces) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.partOf) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.status) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.intent) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.category) == (element_path = CarePlan.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of plan' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: Location.address.postalCode\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 7: CarePlan.category:AssessPlan\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of plan to Type of plan\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CarePlan.json, CarePlan======\n",
+ "(element['id'] = CarePlan) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.identifier) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesCanonical) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesUri) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.basedOn) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.replaces) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.partOf) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.status) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.intent) == (element_path = CarePlan.category)? False❗❗❗\n",
+ "(element['id'] = CarePlan.category) == (element_path = CarePlan.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of plan' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 11: Location.managingOrganization\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 8: CarePlan.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who the care plan is for to Who the care plan is for\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CarePlan.json, CarePlan======\n",
+ "(element['id'] = CarePlan) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.identifier) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesCanonical) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.instantiatesUri) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.basedOn) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.replaces) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.partOf) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.status) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.intent) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.category) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.title) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.description) == (element_path = CarePlan.subject)? False❗❗❗\n",
+ "(element['id'] = CarePlan.subject) == (element_path = CarePlan.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who the care plan is for' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-uscore-medicationstatement.yml***********\n",
- "☞ ☞ ☞ Type = MedicationStatement\n",
- "☞ ☞ ☞ element 0: MedicationStatement\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-diagnosticreport-note.yml***********\n",
+ "☞ ☞ ☞ Type = DiagnosticReport\n",
+ "☞ ☞ ☞ element 0: DiagnosticReport\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: DiagnosticReport.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) registered | partial | preliminary | final + to registered | partial | preliminary | final +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.status)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.status)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.status)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | partial | preliminary | final +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: DiagnosticReport.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Service category to Service category\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Service category' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: DiagnosticReport.category:us-core\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Service category to Service category\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Service category' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: DiagnosticReport.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) US Core Report Code to US Core Report Code\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'US Core Report Code' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: DiagnosticReport.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The subject of the report - usually, but not always, the patient to The subject of the report - usually, but not always, the patient\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The subject of the report - usually, but not always, the patient' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: DiagnosticReport.encounter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Health care event when test ordered to Health care event when test ordered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Health care event when test ordered' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: DiagnosticReport.effective[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Diagnostically relevant time (typically the time of the procedure) to Diagnostically relevant time (typically the time of the procedure)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Diagnostically relevant time (typically the time of the procedure)' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: DiagnosticReport.issued\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) DateTime this version was made to DateTime this version was made\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.issued)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'DateTime this version was made' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: DiagnosticReport.performer\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Responsible Diagnostic Service to Responsible Diagnostic Service\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.performer) == (element_path = DiagnosticReport.performer)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Responsible Diagnostic Service' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: DiagnosticReport.result\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Observations to Observations\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.performer) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.resultsInterpreter) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.specimen) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.result) == (element_path = DiagnosticReport.result)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Observations' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: DiagnosticReport.media\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Key images associated with this report to Key images associated with this report\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.performer) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.resultsInterpreter) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.specimen) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.result) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.imagingStudy) == (element_path = DiagnosticReport.media)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.media) == (element_path = DiagnosticReport.media)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Key images associated with this report' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: DiagnosticReport.media.link\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Reference to the image source to Reference to the image source\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.performer) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.resultsInterpreter) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.specimen) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.result) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.imagingStudy) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.media) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.media.comment) == (element_path = DiagnosticReport.media.link)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.media.link) == (element_path = DiagnosticReport.media.link)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Reference to the image source' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: DiagnosticReport.presentedForm\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Entire report as issued to Entire report as issued\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.performer) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.resultsInterpreter) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.specimen) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.result) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.imagingStudy) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.media) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.media.comment) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.media.link) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.conclusion) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.conclusionCode) == (element_path = DiagnosticReport.presentedForm)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.presentedForm) == (element_path = DiagnosticReport.presentedForm)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Entire report as issued' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-provenance.yml***********\n",
+ "☞ ☞ ☞ Type = Provenance\n",
+ "☞ ☞ ☞ element 0: Provenance\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Provenance.target\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The Resource this Provenance record supports to The Resource this Provenance record supports\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.target)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.target)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The Resource this Provenance record supports' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Provenance.target.reference\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Literal reference, Relative, internal or absolute URL to Literal reference, Relative, internal or absolute URL\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.type) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.role) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.who) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.onBehalfOf) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.entity) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.entity.role) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.entity.what) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.entity.agent) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "(element['id'] = Provenance.signature) == (element_path = Provenance.target.reference)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Provenance.target.reference\n",
+ "parent_element_path = Provenance.target datatype_element_path = reference\n",
+ "datatype = Reference\n",
+ "type = Reference, path = Reference.reference, shorty = Literal reference, Relative, internal or absolute URL\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Reference.json, Reference======\n",
+ "(element['id'] = Reference) == (element_path = Reference.reference)? False❗❗❗\n",
+ "(element['id'] = Reference.reference) == (element_path = Reference.reference)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Literal reference, Relative, internal or absolute URL' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Provenance.recorded\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Timestamp when the activity was recorded / updated to Timestamp when the activity was recorded / updated\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.recorded)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.recorded)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.recorded)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.recorded)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Timestamp when the activity was recorded / updated' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Provenance.agent\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Actor involved to Actor involved\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.agent)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Actor involved' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Provenance.agent.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) How the agent participated to How the agent participated\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.type) == (element_path = Provenance.agent.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'How the agent participated' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Provenance.agent.who\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who participated to Who participated\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.type) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.role) == (element_path = Provenance.agent.who)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.who) == (element_path = Provenance.agent.who)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who participated' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Provenance.agent.onBehalfOf\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who the agent is representing to Who the agent is representing\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.type) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.role) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.who) == (element_path = Provenance.agent.onBehalfOf)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.onBehalfOf) == (element_path = Provenance.agent.onBehalfOf)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who the agent is representing' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Provenance.agent:ProvenanceAuthor\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Actor involved to Actor involved\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.agent)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Actor involved' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Provenance.agent:ProvenanceAuthor.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) How the agent participated to How the agent participated\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.type) == (element_path = Provenance.agent.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'How the agent participated' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Provenance.agent:ProvenanceTransmitter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Actor involved to Actor involved\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.agent)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.agent)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Actor involved' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Provenance.agent:ProvenanceTransmitter.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) How the agent participated to How the agent participated\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Provenance.json, Provenance======\n",
+ "(element['id'] = Provenance) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.target) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.occurred[x]) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.recorded) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.policy) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.location) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.reason) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.activity) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent) == (element_path = Provenance.agent.type)? False❗❗❗\n",
+ "(element['id'] = Provenance.agent.type) == (element_path = Provenance.agent.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'How the agent participated' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-blood-pressure.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Blood Pressure to Blood Pressure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Blood Pressure' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.component\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Component observations to Component observations\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Component observations' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.component:systolic\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Systolic Blood Pressure to Systolic Blood Pressure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Systolic Blood Pressure' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.component:systolic.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Systolic Blood Pressure Code to Systolic Blood Pressure Code\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Systolic Blood Pressure Code' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.component:systolic.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.component:systolic.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].value\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.component:systolic.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].unit\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.component:systolic.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].system\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.component:systolic.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].code\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded form of the unit\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.component:diastolic\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Diastolic Blood Pressure to Diastolic Blood Pressure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Diastolic Blood Pressure' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.component:diastolic.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Diastolic Blood Pressure Code to Diastolic Blood Pressure Code\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Diastolic Blood Pressure Code' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Observation.component:diastolic.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Observation.component:diastolic.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].value\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Observation.component:diastolic.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].unit\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Observation.component:diastolic.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].system\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Observation.component:diastolic.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].code\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded form of the unit\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-condition-encounter-diagnosis.yml***********\n",
+ "☞ ☞ ☞ Type = Condition\n",
+ "☞ ☞ ☞ element 0: Condition\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Condition.extension:assertedDate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Date the condition was first asserted to Date the condition was first asserted\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.onset[x]) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.abatement[x]) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.recordedDate) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.recorder) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.asserter) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.stage) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.stage.summary) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.stage.assessment) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.stage.type) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.evidence) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.evidence.code) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.evidence.detail) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.note) == (element_path = Condition.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Condition.extension\n",
+ "parent_element_path = Condition datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Condition.clinicalStatus\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) active | recurrence | relapse | inactive | remission | resolved to active | recurrence | relapse | inactive | remission | resolved\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.clinicalStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.clinicalStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.clinicalStatus)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'active | recurrence | relapse | inactive | remission | resolved' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Condition.verificationStatus\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) unconfirmed | provisional | differential | confirmed | refuted | entered-in-error to unconfirmed | provisional | differential | confirmed | refuted | entered-in-error\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.verificationStatus)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'unconfirmed | provisional | differential | confirmed | refuted | entered-in-error' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Condition.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) category codes to category codes\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'category codes' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Condition.category:us-core\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) encounter-diagnosis to encounter-diagnosis\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'encounter-diagnosis' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Condition.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Identification of the condition, problem or diagnosis to Identification of the condition, problem or diagnosis\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Identification of the condition, problem or diagnosis' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Condition.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who has the condition? to Who has the condition?\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who has the condition?' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Condition.encounter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Encounter created as part of to Encounter created as part of\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.encounter)? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Encounter created as part of' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Condition.onset[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Estimated or actual date, date-time, or age to Estimated or actual date, date-time, or age\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.onset[x]) == (element_path = Condition.onset[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Estimated or actual date, date-time, or age' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Condition.abatement[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When in resolution/remission to When in resolution/remission\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.onset[x]) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.abatement[x]) == (element_path = Condition.abatement[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When in resolution/remission' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Condition.recordedDate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Date record was first recorded to Date record was first recorded\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.onset[x]) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.abatement[x]) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.recordedDate) == (element_path = Condition.recordedDate)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Date record was first recorded' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-heart-rate.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Heart Rate to Heart Rate\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Heart Rate' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medication.yml***********\n",
+ "☞ ☞ ☞ Type = Medication\n",
+ "☞ ☞ ☞ element 0: Medication\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Medication.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Codes that identify this medication to Codes that identify this medication\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Medication.json, Medication======\n",
+ "(element['id'] = Medication) == (element_path = Medication.code)? False❗❗❗\n",
+ "(element['id'] = Medication.identifier) == (element_path = Medication.code)? False❗❗❗\n",
+ "(element['id'] = Medication.code) == (element_path = Medication.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Codes that identify this medication' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-coverage.yml***********\n",
+ "☞ ☞ ☞ Type = Coverage\n",
+ "☞ ☞ ☞ element 0: Coverage\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Coverage.identifier\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Member ID and other identifiers to Member ID and other identifiers\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.identifier)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.identifier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Member ID and other identifiers' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Coverage.identifier:memberid\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Member ID to Member ID\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.identifier)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.identifier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Member ID' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Coverage.identifier:memberid.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Member Number identifier type to Member Number identifier type\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.class) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.type) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.value) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.name) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.order) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.network) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.costToBeneficiary) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.costToBeneficiary.type) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.costToBeneficiary.value[x]) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.costToBeneficiary.exception) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.costToBeneficiary.exception.type) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.costToBeneficiary.exception.period) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.subrogation) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.contract) == (element_path = Coverage.identifier.type)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Coverage.identifier.type\n",
+ "parent_element_path = Coverage.identifier datatype_element_path = type\n",
+ "datatype = Identifier\n",
+ "type = Identifier, path = Identifier.type, shorty = Member Number identifier type\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Identifier.json, Identifier======\n",
+ "(element['id'] = Identifier) == (element_path = Identifier.type)? False❗❗❗\n",
+ "(element['id'] = Identifier.use) == (element_path = Identifier.type)? False❗❗❗\n",
+ "(element['id'] = Identifier.type) == (element_path = Identifier.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Member Number identifier type' the same as the base - None ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Coverage.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) active | cancelled | draft | entered-in-error to active | cancelled | draft | entered-in-error\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.status)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.status)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'active | cancelled | draft | entered-in-error' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Coverage.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coverage category such as medical or accident to Coverage category such as medical or accident\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.type)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coverage category such as medical or accident' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Coverage.subscriberId\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) ID assigned to the subscriber to ID assigned to the subscriber\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.subscriberId)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.subscriberId)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.subscriberId)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.subscriberId)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.subscriberId)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.subscriberId)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.subscriberId)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'ID assigned to the subscriber' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Coverage.beneficiary\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Plan beneficiary to Plan beneficiary\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.beneficiary)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.beneficiary)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.beneficiary)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.beneficiary)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.beneficiary)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.beneficiary)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.beneficiary)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.beneficiary)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Plan beneficiary' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Coverage.relationship\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Beneficiary relationship to the subscriber to Beneficiary relationship to the subscriber\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.relationship)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.relationship)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Beneficiary relationship to the subscriber' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Coverage.period\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coverage start and end dates to Coverage start and end dates\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.period)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.period)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coverage start and end dates' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Coverage.payor\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Issuer of the policy to Issuer of the policy\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.payor)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.payor)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Issuer of the policy' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Coverage.class\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Additional coverage classifications to Additional coverage classifications\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.class) == (element_path = Coverage.class)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Additional coverage classifications' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Coverage.class:group\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Group to Group\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.class) == (element_path = Coverage.class)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Group' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Coverage.class:group.type\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Coverage.class:group.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Group Number to Group Number\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.class) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.type) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.value) == (element_path = Coverage.class.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Group Number' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Coverage.class:group.name\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Group Name to Group Name\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.class) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.type) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.value) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.name) == (element_path = Coverage.class.name)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Group Name' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Coverage.class:plan\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Plan to Plan\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.class)? False❗❗❗\n",
+ "(element['id'] = Coverage.class) == (element_path = Coverage.class)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Plan' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Coverage.class:plan.type\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: Coverage.class:plan.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Plan Number to Plan Number\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.class) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.type) == (element_path = Coverage.class.value)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.value) == (element_path = Coverage.class.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Plan Number' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: Coverage.class:plan.name\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Plan Name to Plan Name\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Coverage.json, Coverage======\n",
+ "(element['id'] = Coverage) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.identifier) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.status) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.type) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.policyHolder) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriber) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.subscriberId) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.beneficiary) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.dependent) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.relationship) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.period) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.payor) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.class) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.type) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.value) == (element_path = Coverage.class.name)? False❗❗❗\n",
+ "(element['id'] = Coverage.class.name) == (element_path = Coverage.class.name)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Plan Name' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-pediatric-weight-for-height.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Weight-for-length per age and gender to Weight-for-length per age and gender\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Weight-for-length per age and gender' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-questionnaireresponse.yml***********\n",
+ "☞ ☞ ☞ Type = QuestionnaireResponse\n",
+ "☞ ☞ ☞ element 0: QuestionnaireResponse\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: QuestionnaireResponse.questionnaire\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Form being answered to Form being answered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.questionnaire)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.questionnaire)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.questionnaire)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.questionnaire)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.questionnaire)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Form being answered' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: QuestionnaireResponse.questionnaire.extension:url\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The location where a non-FHIR questionnaire/survey form can be found. to The location where a non-FHIR questionnaire/survey form can be found.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.status) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.subject) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.encounter) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.authored) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.author) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.source) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.linkId) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.definition) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.text) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.answer) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.answer.value[x]) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.answer.item) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.item) == (element_path = QuestionnaireResponse.questionnaire.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path QuestionnaireResponse.questionnaire.extension\n",
+ "parent_element_path = QuestionnaireResponse.questionnaire datatype_element_path = extension\n",
+ "datatype = canonical\n",
+ "type = canonical, path = canonical.extension, shorty = The location where a non-FHIR questionnaire/survey form can be found.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-canonical.json, canonical======\n",
+ "(element['id'] = canonical) == (element_path = canonical.extension)? False❗❗❗\n",
+ "(element['id'] = canonical.value) == (element_path = canonical.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path canonical.extension\n",
+ "parent_element_path = canonical datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: QuestionnaireResponse.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) in-progress | completed | amended | entered-in-error | stopped to in-progress | completed | amended | entered-in-error | stopped\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.status)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.status)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.status)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.status)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.status)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.status) == (element_path = QuestionnaireResponse.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'in-progress | completed | amended | entered-in-error | stopped' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: QuestionnaireResponse.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The subject of the questions to The subject of the questions\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.subject)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.subject)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.subject)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.subject)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.subject)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.status) == (element_path = QuestionnaireResponse.subject)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.subject) == (element_path = QuestionnaireResponse.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The subject of the questions' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: QuestionnaireResponse.authored\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Date the answers were gathered to Date the answers were gathered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.authored)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.authored)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.authored)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.authored)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.authored)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.status) == (element_path = QuestionnaireResponse.authored)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.subject) == (element_path = QuestionnaireResponse.authored)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.encounter) == (element_path = QuestionnaireResponse.authored)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.authored) == (element_path = QuestionnaireResponse.authored)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Date the answers were gathered' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: QuestionnaireResponse.author\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Person who received and recorded the answers to Person who received and recorded the answers\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.status) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.subject) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.encounter) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.authored) == (element_path = QuestionnaireResponse.author)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.author) == (element_path = QuestionnaireResponse.author)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Person who received and recorded the answers' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: QuestionnaireResponse.item\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Groups and questions to Groups and questions\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.status) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.subject) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.encounter) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.authored) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.author) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.source) == (element_path = QuestionnaireResponse.item)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item) == (element_path = QuestionnaireResponse.item)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Groups and questions' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: QuestionnaireResponse.item.linkId\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Pointer to specific item from Questionnaire to Pointer to specific item from Questionnaire\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.status) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.subject) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.encounter) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.authored) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.author) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.source) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item) == (element_path = QuestionnaireResponse.item.linkId)? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.linkId) == (element_path = QuestionnaireResponse.item.linkId)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Pointer to specific item from Questionnaire' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: QuestionnaireResponse.item.answer.value[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Single-valued answer to the question to Single-valued answer to the question\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-QuestionnaireResponse.json, QuestionnaireResponse======\n",
+ "(element['id'] = QuestionnaireResponse) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.identifier) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.basedOn) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.partOf) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.questionnaire) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.status) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.subject) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.encounter) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.authored) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.author) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.source) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.linkId) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.definition) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.text) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.answer) == (element_path = QuestionnaireResponse.item.answer.value[x])? False❗❗❗\n",
+ "(element['id'] = QuestionnaireResponse.item.answer.value[x]) == (element_path = QuestionnaireResponse.item.answer.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Single-valued answer to the question' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.category:us-core\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.code\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.derivedFrom\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (ADD'L USCDI) US Core Profiles or other resource the observation is made from to US Core Profiles or other resource the observation is made from\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.derivedFrom)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'US Core Profiles or other resource the observation is made from' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-implantable-device.yml***********\n",
+ "☞ ☞ ☞ Type = Device\n",
+ "☞ ☞ ☞ element 0: Device\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Device.udiCarrier\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unique Device Identifier (UDI) Barcode string to Unique Device Identifier (UDI) Barcode string\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.udiCarrier)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.udiCarrier)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.udiCarrier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.udiCarrier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unique Device Identifier (UDI) Barcode string' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Device.udiCarrier.deviceIdentifier\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Mandatory fixed portion of UDI to Mandatory fixed portion of UDI\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.udiCarrier.deviceIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.udiCarrier.deviceIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.udiCarrier.deviceIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.udiCarrier.deviceIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.udiCarrier.deviceIdentifier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Mandatory fixed portion of UDI' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Device.udiCarrier.carrierHRF\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) UDI Human Readable Barcode String to UDI Human Readable Barcode String\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.udiCarrier.carrierHRF)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.udiCarrier.carrierHRF)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.udiCarrier.carrierHRF)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.udiCarrier.carrierHRF)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.udiCarrier.carrierHRF)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.issuer) == (element_path = Device.udiCarrier.carrierHRF)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.jurisdiction) == (element_path = Device.udiCarrier.carrierHRF)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierAIDC) == (element_path = Device.udiCarrier.carrierHRF)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierHRF) == (element_path = Device.udiCarrier.carrierHRF)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'UDI Human Readable Barcode String' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Device.distinctIdentifier\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The distinct identification string to The distinct identification string\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.issuer) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.jurisdiction) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierAIDC) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierHRF) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.entryType) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.status) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.statusReason) == (element_path = Device.distinctIdentifier)? False❗❗❗\n",
+ "(element['id'] = Device.distinctIdentifier) == (element_path = Device.distinctIdentifier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The distinct identification string' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Device.manufactureDate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Date when the device was made to Date when the device was made\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.issuer) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.jurisdiction) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierAIDC) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierHRF) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.entryType) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.status) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.statusReason) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.distinctIdentifier) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.manufacturer) == (element_path = Device.manufactureDate)? False❗❗❗\n",
+ "(element['id'] = Device.manufactureDate) == (element_path = Device.manufactureDate)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Date when the device was made' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Device.expirationDate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Date and time of expiry of this device (if applicable) to Date and time of expiry of this device (if applicable)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.issuer) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.jurisdiction) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierAIDC) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierHRF) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.entryType) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.status) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.statusReason) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.distinctIdentifier) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.manufacturer) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.manufactureDate) == (element_path = Device.expirationDate)? False❗❗❗\n",
+ "(element['id'] = Device.expirationDate) == (element_path = Device.expirationDate)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Date and time of expiry of this device (if applicable)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Device.lotNumber\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Lot number of manufacture to Lot number of manufacture\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.issuer) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.jurisdiction) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierAIDC) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierHRF) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.entryType) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.status) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.statusReason) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.distinctIdentifier) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.manufacturer) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.manufactureDate) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.expirationDate) == (element_path = Device.lotNumber)? False❗❗❗\n",
+ "(element['id'] = Device.lotNumber) == (element_path = Device.lotNumber)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Lot number of manufacture' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Device.serialNumber\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Serial number assigned by the manufacturer to Serial number assigned by the manufacturer\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.issuer) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.jurisdiction) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierAIDC) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierHRF) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.entryType) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.status) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.statusReason) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.distinctIdentifier) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.manufacturer) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.manufactureDate) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.expirationDate) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.lotNumber) == (element_path = Device.serialNumber)? False❗❗❗\n",
+ "(element['id'] = Device.serialNumber) == (element_path = Device.serialNumber)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Serial number assigned by the manufacturer' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Device.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The kind or type of device to The kind or type of device\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.issuer) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.jurisdiction) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierAIDC) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierHRF) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.entryType) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.status) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.statusReason) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.distinctIdentifier) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.manufacturer) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.manufactureDate) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.expirationDate) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.lotNumber) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.serialNumber) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.deviceName) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.deviceName.name) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.deviceName.type) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.modelNumber) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.partNumber) == (element_path = Device.type)? False❗❗❗\n",
+ "(element['id'] = Device.type) == (element_path = Device.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The kind or type of device' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Device.patient\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Patient to whom Device is affixed to Patient to whom Device is affixed\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Device.json, Device======\n",
+ "(element['id'] = Device) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.identifier) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.definition) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.deviceIdentifier) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.issuer) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.jurisdiction) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierAIDC) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.carrierHRF) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.udiCarrier.entryType) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.status) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.statusReason) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.distinctIdentifier) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.manufacturer) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.manufactureDate) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.expirationDate) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.lotNumber) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.serialNumber) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.deviceName) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.deviceName.name) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.deviceName.type) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.modelNumber) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.partNumber) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.type) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.specialization) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.specialization.systemType) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.specialization.version) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.version) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.version.type) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.version.component) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.version.value) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.property) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.property.type) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.property.valueQuantity) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.property.valueCode) == (element_path = Device.patient)? False❗❗❗\n",
+ "(element['id'] = Device.patient) == (element_path = Device.patient)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Patient to whom Device is affixed' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-head-occipital-frontal-circumference-percentile.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Head Occipital Frontal circumference Percentile to Head Occipital Frontal circumference Percentile\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Head Occipital Frontal circumference Percentile' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-direct.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-location.yml***********\n",
+ "☞ ☞ ☞ Type = Location\n",
+ "☞ ☞ ☞ element 0: Location\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Location.identifier\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI Requirement) Unique business identifier for facility or location. to Unique business identifier for facility or location.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Location.json, Location======\n",
+ "(element['id'] = Location) == (element_path = Location.identifier)? False❗❗❗\n",
+ "(element['id'] = Location.identifier) == (element_path = Location.identifier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unique business identifier for facility or location.' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Location.status\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Location.name\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI Requirement) Name by which a facility or location is known. to Name by which a facility or location is known.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Location.json, Location======\n",
+ "(element['id'] = Location) == (element_path = Location.name)? False❗❗❗\n",
+ "(element['id'] = Location.identifier) == (element_path = Location.name)? False❗❗❗\n",
+ "(element['id'] = Location.status) == (element_path = Location.name)? False❗❗❗\n",
+ "(element['id'] = Location.operationalStatus) == (element_path = Location.name)? False❗❗❗\n",
+ "(element['id'] = Location.name) == (element_path = Location.name)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Name by which a facility or location is known.' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Location.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI Requirement) Category of service or resource available in a location. to Category of service or resource available in a location.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Location.json, Location======\n",
+ "(element['id'] = Location) == (element_path = Location.type)? False❗❗❗\n",
+ "(element['id'] = Location.identifier) == (element_path = Location.type)? False❗❗❗\n",
+ "(element['id'] = Location.status) == (element_path = Location.type)? False❗❗❗\n",
+ "(element['id'] = Location.operationalStatus) == (element_path = Location.type)? False❗❗❗\n",
+ "(element['id'] = Location.name) == (element_path = Location.type)? False❗❗❗\n",
+ "(element['id'] = Location.alias) == (element_path = Location.type)? False❗❗❗\n",
+ "(element['id'] = Location.description) == (element_path = Location.type)? False❗❗❗\n",
+ "(element['id'] = Location.mode) == (element_path = Location.type)? False❗❗❗\n",
+ "(element['id'] = Location.type) == (element_path = Location.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Category of service or resource available in a location.' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Location.telecom\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Location.address\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Location.address.line\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Location.address.city\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Location.address.state\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Location.address.postalCode\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Location.managingOrganization\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-head-circumference.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Head Circumference to Head Circumference\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Head Circumference' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-pulse-oximetry.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Oxygen Saturation by Pulse Oximetry to Oxygen Saturation by Pulse Oximetry\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Oxygen Saturation by Pulse Oximetry' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.code.coding\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Code defined by a terminology system to Code defined by a terminology system\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.code.coding\n",
+ "parent_element_path = Observation.code datatype_element_path = coding\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.coding, shorty = Code defined by a terminology system\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.coding)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.coding)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Code defined by a terminology system' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.code.coding:PulseOx\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Code defined by a terminology system to Code defined by a terminology system\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.code.coding\n",
+ "parent_element_path = Observation.code datatype_element_path = coding\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.coding, shorty = Code defined by a terminology system\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.coding)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.coding)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Code defined by a terminology system' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code.coding:O2Sat\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Code defined by a terminology system to Code defined by a terminology system\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.code.coding)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.code.coding\n",
+ "parent_element_path = Observation.code datatype_element_path = coding\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.coding, shorty = Code defined by a terminology system\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.coding)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.coding)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Code defined by a terminology system' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Oxygen Saturation by Pulse Oximetry Value to Oxygen Saturation by Pulse Oximetry Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Oxygen Saturation by Pulse Oximetry Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded form of the unit\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.component\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Used when reporting flow rates or oxygen concentration. to Used when reporting flow rates or oxygen concentration.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Used when reporting flow rates or oxygen concentration.' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.component:FlowRate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Inhaled oxygen flow rate to Inhaled oxygen flow rate\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Inhaled oxygen flow rate' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Observation.component:FlowRate.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of component observation (code / type) to Type of component observation (code / type)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of component observation (code / type)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Observation.component:FlowRate.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Observation.component:FlowRate.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].value\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Observation.component:FlowRate.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].unit\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Observation.component:FlowRate.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].system\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Observation.component:FlowRate.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].code\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded form of the unit\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: Observation.component:Concentration\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Inhaled oxygen concentration to Inhaled oxygen concentration\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Inhaled oxygen concentration' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: Observation.component:Concentration.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of component observation (code / type) to Type of component observation (code / type)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of component observation (code / type)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 20: Observation.component:Concentration.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 21: Observation.component:Concentration.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].value\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 22: Observation.component:Concentration.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].unit\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 23: Observation.component:Concentration.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].system\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 24: Observation.component:Concentration.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].code\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded form of the unit\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-servicerequest.yml***********\n",
+ "☞ ☞ ☞ Type = ServiceRequest\n",
+ "☞ ☞ ☞ element 0: ServiceRequest\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: ServiceRequest.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) draft | active | on-hold | revoked | completed | entered-in-error | unknown to draft | active | on-hold | revoked | completed | entered-in-error | unknown\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.status)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.status)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.status)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.status)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.status)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.status)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.status)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'draft | active | on-hold | revoked | completed | entered-in-error | unknown' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: ServiceRequest.intent\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option to proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.intent)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.intent)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.intent)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.intent)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.intent)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.intent)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.intent)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.intent)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.intent)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: ServiceRequest.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of service to Classification of service\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of service' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: ServiceRequest.category:us-core\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of service to Classification of service\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.category)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of service' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: ServiceRequest.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) What is being requested/ordered to What is being requested/ordered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.priority) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.doNotPerform) == (element_path = ServiceRequest.code)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.code) == (element_path = ServiceRequest.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'What is being requested/ordered' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: ServiceRequest.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Individual or Entity the service is ordered for to Individual or Entity the service is ordered for\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.priority) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.doNotPerform) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.code) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.orderDetail) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.quantity[x]) == (element_path = ServiceRequest.subject)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.subject) == (element_path = ServiceRequest.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Individual or Entity the service is ordered for' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: ServiceRequest.encounter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Encounter in which the request was created to Encounter in which the request was created\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.priority) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.doNotPerform) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.code) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.orderDetail) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.quantity[x]) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.subject) == (element_path = ServiceRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.encounter) == (element_path = ServiceRequest.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Encounter in which the request was created' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: ServiceRequest.occurrence[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When service should occur to When service should occur\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.priority) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.doNotPerform) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.code) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.orderDetail) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.quantity[x]) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.subject) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.encounter) == (element_path = ServiceRequest.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.occurrence[x]) == (element_path = ServiceRequest.occurrence[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When service should occur' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: ServiceRequest.authoredOn\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Date request signed to Date request signed\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.priority) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.doNotPerform) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.code) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.orderDetail) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.quantity[x]) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.subject) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.encounter) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.occurrence[x]) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.asNeeded[x]) == (element_path = ServiceRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.authoredOn) == (element_path = ServiceRequest.authoredOn)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Date request signed' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: ServiceRequest.requester\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who/what is requesting service to Who/what is requesting service\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.priority) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.doNotPerform) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.code) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.orderDetail) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.quantity[x]) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.subject) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.encounter) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.occurrence[x]) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.asNeeded[x]) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.authoredOn) == (element_path = ServiceRequest.requester)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requester) == (element_path = ServiceRequest.requester)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who/what is requesting service' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: ServiceRequest.reasonCode\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Explanation/Justification for procedure or service to Explanation/Justification for procedure or service\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.priority) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.doNotPerform) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.code) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.orderDetail) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.quantity[x]) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.subject) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.encounter) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.occurrence[x]) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.asNeeded[x]) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.authoredOn) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requester) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.performerType) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.performer) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.locationCode) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.locationReference) == (element_path = ServiceRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.reasonCode) == (element_path = ServiceRequest.reasonCode)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Explanation/Justification for procedure or service' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: ServiceRequest.reasonReference\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) US Core Profile that supports the requested service to US Core Profile that supports the requested service\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ServiceRequest.json, ServiceRequest======\n",
+ "(element['id'] = ServiceRequest) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.identifier) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesCanonical) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.instantiatesUri) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.basedOn) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.replaces) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requisition) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.status) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.intent) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.category) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.priority) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.doNotPerform) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.code) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.orderDetail) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.quantity[x]) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.subject) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.encounter) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.occurrence[x]) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.asNeeded[x]) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.authoredOn) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.requester) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.performerType) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.performer) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.locationCode) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.locationReference) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.reasonCode) == (element_path = ServiceRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = ServiceRequest.reasonReference) == (element_path = ServiceRequest.reasonReference)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'US Core Profile that supports the requested service' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.extension:medicationAdherence\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Medication adherence code to Medication adherence code\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Extension.json, Extension======\n",
+ "(element['id'] = Extension) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.url) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.value[x]) == (element_path = Extension.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Extension.extension\n",
+ "parent_element_path = Extension datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.extension:medicationAdherence.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Extension.extension:medicationAdherence.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Extension.extension:dateAsserted\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When the medication adherence was asserted to When the medication adherence was asserted\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Extension.json, Extension======\n",
+ "(element['id'] = Extension) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.url) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.value[x]) == (element_path = Extension.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Extension.extension\n",
+ "parent_element_path = Extension datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Extension.extension:dateAsserted.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Extension.extension:dateAsserted.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Extension.extension:informationSource\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who provided the information about the medication adherence to Who provided the information about the medication adherence\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Extension.json, Extension======\n",
+ "(element['id'] = Extension) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.url) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.value[x]) == (element_path = Extension.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Extension.extension\n",
+ "parent_element_path = Extension datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Extension.extension:informationSource.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Extension.extension:informationSource.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-bmi.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded Responses from C-CDA Vital Sign Results to Coded Responses from C-CDA Vital Sign Results\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded Responses from C-CDA Vital Sign Results' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-immunization.yml***********\n",
+ "☞ ☞ ☞ Type = Immunization\n",
+ "☞ ☞ ☞ element 0: Immunization\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Immunization.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) completed | entered-in-error | not-done to completed | entered-in-error | not-done\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Immunization.json, Immunization======\n",
+ "(element['id'] = Immunization) == (element_path = Immunization.status)? False❗❗❗\n",
+ "(element['id'] = Immunization.identifier) == (element_path = Immunization.status)? False❗❗❗\n",
+ "(element['id'] = Immunization.status) == (element_path = Immunization.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'completed | entered-in-error | not-done' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Immunization.statusReason\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Reason not done to Reason not done\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Immunization.json, Immunization======\n",
+ "(element['id'] = Immunization) == (element_path = Immunization.statusReason)? False❗❗❗\n",
+ "(element['id'] = Immunization.identifier) == (element_path = Immunization.statusReason)? False❗❗❗\n",
+ "(element['id'] = Immunization.status) == (element_path = Immunization.statusReason)? False❗❗❗\n",
+ "(element['id'] = Immunization.statusReason) == (element_path = Immunization.statusReason)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Reason not done' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Immunization.vaccineCode\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vaccine Product Type (bind to CVX) to Vaccine Product Type (bind to CVX)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Immunization.json, Immunization======\n",
+ "(element['id'] = Immunization) == (element_path = Immunization.vaccineCode)? False❗❗❗\n",
+ "(element['id'] = Immunization.identifier) == (element_path = Immunization.vaccineCode)? False❗❗❗\n",
+ "(element['id'] = Immunization.status) == (element_path = Immunization.vaccineCode)? False❗❗❗\n",
+ "(element['id'] = Immunization.statusReason) == (element_path = Immunization.vaccineCode)? False❗❗❗\n",
+ "(element['id'] = Immunization.vaccineCode) == (element_path = Immunization.vaccineCode)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vaccine Product Type (bind to CVX)' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Immunization.patient\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who was immunized to Who was immunized\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Immunization.json, Immunization======\n",
+ "(element['id'] = Immunization) == (element_path = Immunization.patient)? False❗❗❗\n",
+ "(element['id'] = Immunization.identifier) == (element_path = Immunization.patient)? False❗❗❗\n",
+ "(element['id'] = Immunization.status) == (element_path = Immunization.patient)? False❗❗❗\n",
+ "(element['id'] = Immunization.statusReason) == (element_path = Immunization.patient)? False❗❗❗\n",
+ "(element['id'] = Immunization.vaccineCode) == (element_path = Immunization.patient)? False❗❗❗\n",
+ "(element['id'] = Immunization.patient) == (element_path = Immunization.patient)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who was immunized' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Immunization.encounter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Encounter the immunization was part of to Encounter the immunization was part of\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Immunization.json, Immunization======\n",
+ "(element['id'] = Immunization) == (element_path = Immunization.encounter)? False❗❗❗\n",
+ "(element['id'] = Immunization.identifier) == (element_path = Immunization.encounter)? False❗❗❗\n",
+ "(element['id'] = Immunization.status) == (element_path = Immunization.encounter)? False❗❗❗\n",
+ "(element['id'] = Immunization.statusReason) == (element_path = Immunization.encounter)? False❗❗❗\n",
+ "(element['id'] = Immunization.vaccineCode) == (element_path = Immunization.encounter)? False❗❗❗\n",
+ "(element['id'] = Immunization.patient) == (element_path = Immunization.encounter)? False❗❗❗\n",
+ "(element['id'] = Immunization.encounter) == (element_path = Immunization.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Encounter the immunization was part of' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Immunization.occurrence[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vaccine administration date to Vaccine administration date\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Immunization.json, Immunization======\n",
+ "(element['id'] = Immunization) == (element_path = Immunization.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = Immunization.identifier) == (element_path = Immunization.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = Immunization.status) == (element_path = Immunization.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = Immunization.statusReason) == (element_path = Immunization.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = Immunization.vaccineCode) == (element_path = Immunization.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = Immunization.patient) == (element_path = Immunization.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = Immunization.encounter) == (element_path = Immunization.occurrence[x])? False❗❗❗\n",
+ "(element['id'] = Immunization.occurrence[x]) == (element_path = Immunization.occurrence[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vaccine administration date' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Immunization.primarySource\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Indicates context the data was recorded in to Indicates context the data was recorded in\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Immunization.json, Immunization======\n",
+ "(element['id'] = Immunization) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.identifier) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.status) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.statusReason) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.vaccineCode) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.patient) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.encounter) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.occurrence[x]) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.recorded) == (element_path = Immunization.primarySource)? False❗❗❗\n",
+ "(element['id'] = Immunization.primarySource) == (element_path = Immunization.primarySource)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Indicates context the data was recorded in' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Immunization.location\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Where the vaccine was administered to Where the vaccine was administered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Immunization.json, Immunization======\n",
+ "(element['id'] = Immunization) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.identifier) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.status) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.statusReason) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.vaccineCode) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.patient) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.encounter) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.occurrence[x]) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.recorded) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.primarySource) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.reportOrigin) == (element_path = Immunization.location)? False❗❗❗\n",
+ "(element['id'] = Immunization.location) == (element_path = Immunization.location)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Where the vaccine was administered' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-practitionerrole.yml***********\n",
+ "☞ ☞ ☞ Type = PractitionerRole\n",
+ "☞ ☞ ☞ element 0: PractitionerRole\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: PractitionerRole.practitioner\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: PractitionerRole.organization\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: PractitionerRole.code\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: PractitionerRole.specialty\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: PractitionerRole.location\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: PractitionerRole.healthcareService\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: PractitionerRole.telecom\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: PractitionerRole.telecom.system\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: PractitionerRole.telecom.value\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: PractitionerRole.endpoint\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-patient.yml***********\n",
+ "☞ ☞ ☞ Type = Patient\n",
+ "☞ ☞ ☞ element 0: Patient\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Patient.extension:race\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) US Core Race Extension to US Core Race Extension\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.extension\n",
+ "parent_element_path = Patient datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Patient.extension:ethnicity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) US Core ethnicity Extension to US Core ethnicity Extension\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.extension\n",
+ "parent_element_path = Patient datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Patient.extension:tribalAffiliation\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Tribal Affiliation Extension to Tribal Affiliation Extension\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.extension\n",
+ "parent_element_path = Patient datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Patient.extension:birthsex\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Patient.extension:sex\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Sex Extension to Sex Extension\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.extension\n",
+ "parent_element_path = Patient datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Patient.extension:genderIdentity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The individual's gender identity to The individual's gender identity\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.extension)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.extension\n",
+ "parent_element_path = Patient datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Patient.identifier\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) An identifier for this patient to An identifier for this patient\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.identifier)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.identifier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'An identifier for this patient' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Patient.identifier.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The namespace for the identifier value to The namespace for the identifier value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.identifier.system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.identifier.system\n",
+ "parent_element_path = Patient.identifier datatype_element_path = system\n",
+ "datatype = Identifier\n",
+ "type = Identifier, path = Identifier.system, shorty = The namespace for the identifier value\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Identifier.json, Identifier======\n",
+ "(element['id'] = Identifier) == (element_path = Identifier.system)? False❗❗❗\n",
+ "(element['id'] = Identifier.use) == (element_path = Identifier.system)? False❗❗❗\n",
+ "(element['id'] = Identifier.type) == (element_path = Identifier.system)? False❗❗❗\n",
+ "(element['id'] = Identifier.system) == (element_path = Identifier.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The namespace for the identifier value' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Patient.identifier.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The value that is unique within the system. to The value that is unique within the system.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.identifier.value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.identifier.value\n",
+ "parent_element_path = Patient.identifier datatype_element_path = value\n",
+ "datatype = Identifier\n",
+ "type = Identifier, path = Identifier.value, shorty = The value that is unique within the system.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Identifier.json, Identifier======\n",
+ "(element['id'] = Identifier) == (element_path = Identifier.value)? False❗❗❗\n",
+ "(element['id'] = Identifier.use) == (element_path = Identifier.value)? False❗❗❗\n",
+ "(element['id'] = Identifier.type) == (element_path = Identifier.value)? False❗❗❗\n",
+ "(element['id'] = Identifier.system) == (element_path = Identifier.value)? False❗❗❗\n",
+ "(element['id'] = Identifier.value) == (element_path = Identifier.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The value that is unique within the system.' the same as the base - None ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Patient.name\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) A name associated with the patient to A name associated with the patient\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.name)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.name)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.name)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.name)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'A name associated with the patient' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Patient.name.use\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) usual | official | temp | nickname | anonymous | old | maiden to usual | official | temp | nickname | anonymous | old | maiden\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.name.use)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.name.use\n",
+ "parent_element_path = Patient.name datatype_element_path = use\n",
+ "datatype = HumanName\n",
+ "type = HumanName, path = HumanName.use, shorty = usual | official | temp | nickname | anonymous | old | maiden\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-HumanName.json, HumanName======\n",
+ "(element['id'] = HumanName) == (element_path = HumanName.use)? False❗❗❗\n",
+ "(element['id'] = HumanName.use) == (element_path = HumanName.use)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'usual | official | temp | nickname | anonymous | old | maiden' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Patient.name.family\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Family name (often called 'Surname') to Family name (often called 'Surname')\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.name.family)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.name.family\n",
+ "parent_element_path = Patient.name datatype_element_path = family\n",
+ "datatype = HumanName\n",
+ "type = HumanName, path = HumanName.family, shorty = Family name (often called 'Surname')\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-HumanName.json, HumanName======\n",
+ "(element['id'] = HumanName) == (element_path = HumanName.family)? False❗❗❗\n",
+ "(element['id'] = HumanName.use) == (element_path = HumanName.family)? False❗❗❗\n",
+ "(element['id'] = HumanName.text) == (element_path = HumanName.family)? False❗❗❗\n",
+ "(element['id'] = HumanName.family) == (element_path = HumanName.family)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Family name (often called 'Surname')' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Patient.name.given\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Given names (not always 'first'). Includes middle names to Given names (not always 'first'). Includes middle names\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.name.given)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.name.given\n",
+ "parent_element_path = Patient.name datatype_element_path = given\n",
+ "datatype = HumanName\n",
+ "type = HumanName, path = HumanName.given, shorty = Given names (not always 'first'). Includes middle names\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-HumanName.json, HumanName======\n",
+ "(element['id'] = HumanName) == (element_path = HumanName.given)? False❗❗❗\n",
+ "(element['id'] = HumanName.use) == (element_path = HumanName.given)? False❗❗❗\n",
+ "(element['id'] = HumanName.text) == (element_path = HumanName.given)? False❗❗❗\n",
+ "(element['id'] = HumanName.family) == (element_path = HumanName.given)? False❗❗❗\n",
+ "(element['id'] = HumanName.given) == (element_path = HumanName.given)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Given names (not always 'first'). Includes middle names' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Patient.name.suffix\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Parts that come after the name to Parts that come after the name\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.name.suffix)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.name.suffix\n",
+ "parent_element_path = Patient.name datatype_element_path = suffix\n",
+ "datatype = HumanName\n",
+ "type = HumanName, path = HumanName.suffix, shorty = Parts that come after the name\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-HumanName.json, HumanName======\n",
+ "(element['id'] = HumanName) == (element_path = HumanName.suffix)? False❗❗❗\n",
+ "(element['id'] = HumanName.use) == (element_path = HumanName.suffix)? False❗❗❗\n",
+ "(element['id'] = HumanName.text) == (element_path = HumanName.suffix)? False❗❗❗\n",
+ "(element['id'] = HumanName.family) == (element_path = HumanName.suffix)? False❗❗❗\n",
+ "(element['id'] = HumanName.given) == (element_path = HumanName.suffix)? False❗❗❗\n",
+ "(element['id'] = HumanName.prefix) == (element_path = HumanName.suffix)? False❗❗❗\n",
+ "(element['id'] = HumanName.suffix) == (element_path = HumanName.suffix)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Parts that come after the name' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Patient.name.period\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Time period when name was/is in use to Time period when name was/is in use\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.name.period)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.name.period\n",
+ "parent_element_path = Patient.name datatype_element_path = period\n",
+ "datatype = HumanName\n",
+ "type = HumanName, path = HumanName.period, shorty = Time period when name was/is in use\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-HumanName.json, HumanName======\n",
+ "(element['id'] = HumanName) == (element_path = HumanName.period)? False❗❗❗\n",
+ "(element['id'] = HumanName.use) == (element_path = HumanName.period)? False❗❗❗\n",
+ "(element['id'] = HumanName.text) == (element_path = HumanName.period)? False❗❗❗\n",
+ "(element['id'] = HumanName.family) == (element_path = HumanName.period)? False❗❗❗\n",
+ "(element['id'] = HumanName.given) == (element_path = HumanName.period)? False❗❗❗\n",
+ "(element['id'] = HumanName.prefix) == (element_path = HumanName.period)? False❗❗❗\n",
+ "(element['id'] = HumanName.suffix) == (element_path = HumanName.period)? False❗❗❗\n",
+ "(element['id'] = HumanName.period) == (element_path = HumanName.period)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Time period when name was/is in use' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Patient.telecom\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) A contact detail for the individual to A contact detail for the individual\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.telecom)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.telecom)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.telecom)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.telecom)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.telecom)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'A contact detail for the individual' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Patient.telecom.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) phone | fax | email | pager | url | sms | other to phone | fax | email | pager | url | sms | other\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.telecom.system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.telecom.system\n",
+ "parent_element_path = Patient.telecom datatype_element_path = system\n",
+ "datatype = ContactPoint\n",
+ "type = ContactPoint, path = ContactPoint.system, shorty = phone | fax | email | pager | url | sms | other\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ContactPoint.json, ContactPoint======\n",
+ "(element['id'] = ContactPoint) == (element_path = ContactPoint.system)? False❗❗❗\n",
+ "(element['id'] = ContactPoint.system) == (element_path = ContactPoint.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'phone | fax | email | pager | url | sms | other' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: Patient.telecom.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The actual contact point details to The actual contact point details\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.telecom.value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.telecom.value\n",
+ "parent_element_path = Patient.telecom datatype_element_path = value\n",
+ "datatype = ContactPoint\n",
+ "type = ContactPoint, path = ContactPoint.value, shorty = The actual contact point details\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ContactPoint.json, ContactPoint======\n",
+ "(element['id'] = ContactPoint) == (element_path = ContactPoint.value)? False❗❗❗\n",
+ "(element['id'] = ContactPoint.system) == (element_path = ContactPoint.value)? False❗❗❗\n",
+ "(element['id'] = ContactPoint.value) == (element_path = ContactPoint.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The actual contact point details' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: Patient.telecom.use\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) home | work | temp | old | mobile - purpose of this contact point to home | work | temp | old | mobile - purpose of this contact point\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.telecom.use)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.telecom.use\n",
+ "parent_element_path = Patient.telecom datatype_element_path = use\n",
+ "datatype = ContactPoint\n",
+ "type = ContactPoint, path = ContactPoint.use, shorty = home | work | temp | old | mobile - purpose of this contact point\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-ContactPoint.json, ContactPoint======\n",
+ "(element['id'] = ContactPoint) == (element_path = ContactPoint.use)? False❗❗❗\n",
+ "(element['id'] = ContactPoint.system) == (element_path = ContactPoint.use)? False❗❗❗\n",
+ "(element['id'] = ContactPoint.value) == (element_path = ContactPoint.use)? False❗❗❗\n",
+ "(element['id'] = ContactPoint.use) == (element_path = ContactPoint.use)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'home | work | temp | old | mobile - purpose of this contact point' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 20: Patient.gender\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) male | female | other | unknown to male | female | other | unknown\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.gender)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.gender)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.gender)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.gender)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.gender)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.gender)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'male | female | other | unknown' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 21: Patient.birthDate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The date of birth for the individual to The date of birth for the individual\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.birthDate)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.birthDate)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.birthDate)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.birthDate)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.birthDate)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.birthDate)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.birthDate)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The date of birth for the individual' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 22: Patient.deceased[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Indicates if the individual is deceased or not to Indicates if the individual is deceased or not\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.deceased[x])? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.deceased[x])? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.deceased[x])? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.deceased[x])? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.deceased[x])? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.deceased[x])? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.deceased[x])? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.deceased[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Indicates if the individual is deceased or not' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 23: Patient.address\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) An address for the individual to An address for the individual\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.address)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.address)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.address)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.address)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.address)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.address)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.address)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.address)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.address)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'An address for the individual' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 24: Patient.address.use\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) home | work | temp | old | billing - purpose of this address to home | work | temp | old | billing - purpose of this address\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.address.use)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.address.use\n",
+ "parent_element_path = Patient.address datatype_element_path = use\n",
+ "datatype = Address\n",
+ "type = Address, path = Address.use, shorty = home | work | temp | old | billing - purpose of this address\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Address.json, Address======\n",
+ "(element['id'] = Address) == (element_path = Address.use)? False❗❗❗\n",
+ "(element['id'] = Address.use) == (element_path = Address.use)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'home | work | temp | old | billing - purpose of this address' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 25: Patient.address.line\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Street name, number, direction & P.O. Box etc. to Street name, number, direction & P.O. Box etc.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.address.line)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.address.line\n",
+ "parent_element_path = Patient.address datatype_element_path = line\n",
+ "datatype = Address\n",
+ "type = Address, path = Address.line, shorty = Street name, number, direction & P.O. Box etc.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Address.json, Address======\n",
+ "(element['id'] = Address) == (element_path = Address.line)? False❗❗❗\n",
+ "(element['id'] = Address.use) == (element_path = Address.line)? False❗❗❗\n",
+ "(element['id'] = Address.type) == (element_path = Address.line)? False❗❗❗\n",
+ "(element['id'] = Address.text) == (element_path = Address.line)? False❗❗❗\n",
+ "(element['id'] = Address.line) == (element_path = Address.line)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Street name, number, direction & P.O. Box etc.' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 26: Patient.address.city\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Name of city, town etc. to Name of city, town etc.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.address.city)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.address.city\n",
+ "parent_element_path = Patient.address datatype_element_path = city\n",
+ "datatype = Address\n",
+ "type = Address, path = Address.city, shorty = Name of city, town etc.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Address.json, Address======\n",
+ "(element['id'] = Address) == (element_path = Address.city)? False❗❗❗\n",
+ "(element['id'] = Address.use) == (element_path = Address.city)? False❗❗❗\n",
+ "(element['id'] = Address.type) == (element_path = Address.city)? False❗❗❗\n",
+ "(element['id'] = Address.text) == (element_path = Address.city)? False❗❗❗\n",
+ "(element['id'] = Address.line) == (element_path = Address.city)? False❗❗❗\n",
+ "(element['id'] = Address.city) == (element_path = Address.city)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Name of city, town etc.' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 27: Patient.address.state\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Sub-unit of country (abbreviations ok) to Sub-unit of country (abbreviations ok)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.address.state)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.address.state\n",
+ "parent_element_path = Patient.address datatype_element_path = state\n",
+ "datatype = Address\n",
+ "type = Address, path = Address.state, shorty = Sub-unit of country (abbreviations ok)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Address.json, Address======\n",
+ "(element['id'] = Address) == (element_path = Address.state)? False❗❗❗\n",
+ "(element['id'] = Address.use) == (element_path = Address.state)? False❗❗❗\n",
+ "(element['id'] = Address.type) == (element_path = Address.state)? False❗❗❗\n",
+ "(element['id'] = Address.text) == (element_path = Address.state)? False❗❗❗\n",
+ "(element['id'] = Address.line) == (element_path = Address.state)? False❗❗❗\n",
+ "(element['id'] = Address.city) == (element_path = Address.state)? False❗❗❗\n",
+ "(element['id'] = Address.district) == (element_path = Address.state)? False❗❗❗\n",
+ "(element['id'] = Address.state) == (element_path = Address.state)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Sub-unit of country (abbreviations ok)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 28: Patient.address.postalCode\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) US Zip Codes to US Zip Codes\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.address.postalCode)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.address.postalCode\n",
+ "parent_element_path = Patient.address datatype_element_path = postalCode\n",
+ "datatype = Address\n",
+ "type = Address, path = Address.postalCode, shorty = US Zip Codes\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Address.json, Address======\n",
+ "(element['id'] = Address) == (element_path = Address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Address.use) == (element_path = Address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Address.type) == (element_path = Address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Address.text) == (element_path = Address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Address.line) == (element_path = Address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Address.city) == (element_path = Address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Address.district) == (element_path = Address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Address.state) == (element_path = Address.postalCode)? False❗❗❗\n",
+ "(element['id'] = Address.postalCode) == (element_path = Address.postalCode)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'US Zip Codes' the same as the base - None ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 29: Patient.address.period\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Time period when address was/is in use to Time period when address was/is in use\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.preferred) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.generalPractitioner) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.managingOrganization) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.link) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.link.other) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "(element['id'] = Patient.link.type) == (element_path = Patient.address.period)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Patient.address.period\n",
+ "parent_element_path = Patient.address datatype_element_path = period\n",
+ "datatype = Address\n",
+ "type = Address, path = Address.period, shorty = Time period when address was/is in use\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Address.json, Address======\n",
+ "(element['id'] = Address) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.use) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.type) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.text) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.line) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.city) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.district) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.state) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.postalCode) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.country) == (element_path = Address.period)? False❗❗❗\n",
+ "(element['id'] = Address.period) == (element_path = Address.period)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Time period when address was/is in use' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 30: Patient.communication\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) A language which may be used to communicate with the patient about his or her health to A language which may be used to communicate with the patient about his or her health\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.communication)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.communication)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'A language which may be used to communicate with the patient about his or her health' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 31: Patient.communication.language\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The language which can be used to communicate with the patient about his or her health to The language which can be used to communicate with the patient about his or her health\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Patient.json, Patient======\n",
+ "(element['id'] = Patient) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.identifier) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.active) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.name) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.telecom) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.gender) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.birthDate) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.deceased[x]) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.address) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.maritalStatus) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.multipleBirth[x]) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.photo) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.contact) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.relationship) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.name) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.telecom) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.address) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.gender) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.organization) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.contact.period) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.communication) == (element_path = Patient.communication.language)? False❗❗❗\n",
+ "(element['id'] = Patient.communication.language) == (element_path = Patient.communication.language)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The language which can be used to communicate with the patient about his or her health' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-tribal-affiliation.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.extension:tribalAffiliation\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Affiliated tribe or band name to Affiliated tribe or band name\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Extension.json, Extension======\n",
+ "(element['id'] = Extension) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.url) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.value[x]) == (element_path = Extension.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Extension.extension\n",
+ "parent_element_path = Extension datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.extension:tribalAffiliation.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Extension.extension:tribalAffiliation.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Extension.extension:isEnrolled\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Extension.extension:isEnrolled.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Extension.extension:isEnrolled.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-race.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.extension:ombCategory\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White to American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Extension.json, Extension======\n",
+ "(element['id'] = Extension) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.url) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.value[x]) == (element_path = Extension.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Extension.extension\n",
+ "parent_element_path = Extension datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.extension:ombCategory.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Extension.extension:ombCategory.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Extension.extension:detailed\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Extension.extension:detailed.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Extension.extension:detailed.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Extension.extension:text\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Race Text to Race Text\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Extension.json, Extension======\n",
+ "(element['id'] = Extension) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.url) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.value[x]) == (element_path = Extension.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Extension.extension\n",
+ "parent_element_path = Extension datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Extension.extension:text.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Extension.extension:text.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-allergyintolerance.yml***********\n",
+ "☞ ☞ ☞ Type = AllergyIntolerance\n",
+ "☞ ☞ ☞ element 0: AllergyIntolerance\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: AllergyIntolerance.clinicalStatus\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) active | inactive | resolved to active | inactive | resolved\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-AllergyIntolerance.json, AllergyIntolerance======\n",
+ "(element['id'] = AllergyIntolerance) == (element_path = AllergyIntolerance.clinicalStatus)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.identifier) == (element_path = AllergyIntolerance.clinicalStatus)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.clinicalStatus) == (element_path = AllergyIntolerance.clinicalStatus)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'active | inactive | resolved' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: AllergyIntolerance.verificationStatus\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) unconfirmed | confirmed | refuted | entered-in-error to unconfirmed | confirmed | refuted | entered-in-error\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-AllergyIntolerance.json, AllergyIntolerance======\n",
+ "(element['id'] = AllergyIntolerance) == (element_path = AllergyIntolerance.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.identifier) == (element_path = AllergyIntolerance.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.clinicalStatus) == (element_path = AllergyIntolerance.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.verificationStatus) == (element_path = AllergyIntolerance.verificationStatus)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'unconfirmed | confirmed | refuted | entered-in-error' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: AllergyIntolerance.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Code that identifies the allergy or intolerance to Code that identifies the allergy or intolerance\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-AllergyIntolerance.json, AllergyIntolerance======\n",
+ "(element['id'] = AllergyIntolerance) == (element_path = AllergyIntolerance.code)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.identifier) == (element_path = AllergyIntolerance.code)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.clinicalStatus) == (element_path = AllergyIntolerance.code)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.verificationStatus) == (element_path = AllergyIntolerance.code)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.type) == (element_path = AllergyIntolerance.code)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.category) == (element_path = AllergyIntolerance.code)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.criticality) == (element_path = AllergyIntolerance.code)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.code) == (element_path = AllergyIntolerance.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Code that identifies the allergy or intolerance' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: AllergyIntolerance.patient\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who the sensitivity is for to Who the sensitivity is for\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-AllergyIntolerance.json, AllergyIntolerance======\n",
+ "(element['id'] = AllergyIntolerance) == (element_path = AllergyIntolerance.patient)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.identifier) == (element_path = AllergyIntolerance.patient)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.clinicalStatus) == (element_path = AllergyIntolerance.patient)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.verificationStatus) == (element_path = AllergyIntolerance.patient)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.type) == (element_path = AllergyIntolerance.patient)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.category) == (element_path = AllergyIntolerance.patient)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.criticality) == (element_path = AllergyIntolerance.patient)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.code) == (element_path = AllergyIntolerance.patient)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.patient) == (element_path = AllergyIntolerance.patient)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who the sensitivity is for' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: AllergyIntolerance.reaction\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Adverse Reaction Events linked to exposure to substance to Adverse Reaction Events linked to exposure to substance\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-AllergyIntolerance.json, AllergyIntolerance======\n",
+ "(element['id'] = AllergyIntolerance) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.identifier) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.clinicalStatus) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.verificationStatus) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.type) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.category) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.criticality) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.code) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.patient) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.encounter) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.onset[x]) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.recordedDate) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.recorder) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.asserter) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.lastOccurrence) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.note) == (element_path = AllergyIntolerance.reaction)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.reaction) == (element_path = AllergyIntolerance.reaction)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Adverse Reaction Events linked to exposure to substance' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: AllergyIntolerance.reaction.manifestation\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinical symptoms/signs associated with the Event to Clinical symptoms/signs associated with the Event\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-AllergyIntolerance.json, AllergyIntolerance======\n",
+ "(element['id'] = AllergyIntolerance) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.identifier) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.clinicalStatus) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.verificationStatus) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.type) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.category) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.criticality) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.code) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.patient) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.encounter) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.onset[x]) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.recordedDate) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.recorder) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.asserter) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.lastOccurrence) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.note) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.reaction) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.reaction.substance) == (element_path = AllergyIntolerance.reaction.manifestation)? False❗❗❗\n",
+ "(element['id'] = AllergyIntolerance.reaction.manifestation) == (element_path = AllergyIntolerance.reaction.manifestation)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinical symptoms/signs associated with the Event' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-organization.yml***********\n",
+ "☞ ☞ ☞ Type = Organization\n",
+ "☞ ☞ ☞ element 0: Organization\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Organization.identifier\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Organization.identifier.system\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Organization.identifier.value\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Organization.identifier:NPI\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Organization.identifier:CLIA\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Organization.identifier:NAIC\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Organization.active\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Organization.name\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Organization.telecom\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Organization.telecom.system\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Organization.telecom.value\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Organization.address\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Organization.address.line\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Organization.address.city\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Organization.address.state\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Organization.address.postalCode\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Organization.address.country\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-uscdi-requirements.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medicationrequest.yml***********\n",
+ "☞ ☞ ☞ Type = MedicationRequest\n",
+ "☞ ☞ ☞ element 0: MedicationRequest\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: MedicationRequest.extension:medicationAdherence\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) US Core Medication Adherence Extension to US Core Medication Adherence Extension\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.quantity) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.duration) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.dispenseInterval) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.validityPeriod) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.quantity) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.expectedSupplyDuration) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.performer) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.allowed[x]) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.reason) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priorPrescription) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.detectedIssue) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.eventHistory) == (element_path = MedicationRequest.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationRequest.extension\n",
+ "parent_element_path = MedicationRequest datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: MedicationRequest.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown to active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.status)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.status)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: MedicationRequest.intent\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option to proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.intent)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.intent)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.intent)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.intent)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.intent)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: MedicationRequest.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of medication usage to Type of medication usage\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of medication usage' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: MedicationRequest.category:us-core\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of medication usage to Type of medication usage\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.category)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of medication usage' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: MedicationRequest.reported[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Reported rather than primary record to Reported rather than primary record\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.reported[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.reported[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.reported[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.reported[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.reported[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.reported[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.reported[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.reported[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.reported[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Reported rather than primary record' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: MedicationRequest.medication[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Medication to be taken to Medication to be taken\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.medication[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Medication to be taken' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: MedicationRequest.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who or group medication request is for to Who or group medication request is for\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who or group medication request is for' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: MedicationRequest.encounter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Encounter created as part of encounter/admission/stay to Encounter created as part of encounter/admission/stay\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.encounter)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Encounter created as part of encounter/admission/stay' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: MedicationRequest.authoredOn\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When request was initially authored to When request was initially authored\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.authoredOn)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.authoredOn)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When request was initially authored' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: MedicationRequest.requester\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who/What requested the Request to Who/What requested the Request\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.requester)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.requester)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who/What requested the Request' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: MedicationRequest.reasonCode\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Reason or indication for ordering or not ordering the medication to Reason or indication for ordering or not ordering the medication\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.reasonCode)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.reasonCode)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Reason or indication for ordering or not ordering the medication' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: MedicationRequest.reasonReference\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) US Core Condition or Observation that supports the prescription to US Core Condition or Observation that supports the prescription\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.reasonReference)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.reasonReference)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'US Core Condition or Observation that supports the prescription' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: MedicationRequest.dosageInstruction\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) How the medication should be taken to How the medication should be taken\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.dosageInstruction)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'How the medication should be taken' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: MedicationRequest.dosageInstruction.text\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Free text dosage instructions e.g. SIG to Free text dosage instructions e.g. SIG\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.quantity) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.duration) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.dispenseInterval) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.validityPeriod) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.quantity) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.expectedSupplyDuration) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.performer) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.allowed[x]) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.reason) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priorPrescription) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.detectedIssue) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.eventHistory) == (element_path = MedicationRequest.dosageInstruction.text)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationRequest.dosageInstruction.text\n",
+ "parent_element_path = MedicationRequest.dosageInstruction datatype_element_path = text\n",
+ "datatype = Dosage\n",
+ "type = Dosage, path = Dosage.text, shorty = Free text dosage instructions e.g. SIG\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Dosage.json, Dosage======\n",
+ "(element['id'] = Dosage) == (element_path = Dosage.text)? False❗❗❗\n",
+ "(element['id'] = Dosage.sequence) == (element_path = Dosage.text)? False❗❗❗\n",
+ "(element['id'] = Dosage.text) == (element_path = Dosage.text)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Free text dosage instructions e.g. SIG' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: MedicationRequest.dosageInstruction.timing\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When medication should be administered to When medication should be administered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.quantity) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.duration) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.dispenseInterval) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.validityPeriod) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.quantity) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.expectedSupplyDuration) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.performer) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.allowed[x]) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.reason) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priorPrescription) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.detectedIssue) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.eventHistory) == (element_path = MedicationRequest.dosageInstruction.timing)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationRequest.dosageInstruction.timing\n",
+ "parent_element_path = MedicationRequest.dosageInstruction datatype_element_path = timing\n",
+ "datatype = Dosage\n",
+ "type = Dosage, path = Dosage.timing, shorty = When medication should be administered\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Dosage.json, Dosage======\n",
+ "(element['id'] = Dosage) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.sequence) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.text) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.additionalInstruction) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.patientInstruction) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.timing) == (element_path = Dosage.timing)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When medication should be administered' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: MedicationRequest.dosageInstruction.doseAndRate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Amount of medication administered to Amount of medication administered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.quantity) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.duration) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.dispenseInterval) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.validityPeriod) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.quantity) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.expectedSupplyDuration) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.performer) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.allowed[x]) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.reason) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priorPrescription) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.detectedIssue) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.eventHistory) == (element_path = MedicationRequest.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationRequest.dosageInstruction.doseAndRate\n",
+ "parent_element_path = MedicationRequest.dosageInstruction datatype_element_path = doseAndRate\n",
+ "datatype = Dosage\n",
+ "type = Dosage, path = Dosage.doseAndRate, shorty = Amount of medication administered\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Dosage.json, Dosage======\n",
+ "(element['id'] = Dosage) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.sequence) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.text) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.additionalInstruction) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.patientInstruction) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.timing) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.asNeeded[x]) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.site) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.route) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.method) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.doseAndRate) == (element_path = Dosage.doseAndRate)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Amount of medication administered' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: MedicationRequest.dosageInstruction.doseAndRate.dose[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Amount of medication per dose to Amount of medication per dose\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.quantity) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.duration) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.dispenseInterval) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.validityPeriod) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.quantity) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.expectedSupplyDuration) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.performer) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.allowed[x]) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.substitution.reason) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priorPrescription) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.detectedIssue) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.eventHistory) == (element_path = MedicationRequest.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationRequest.dosageInstruction.doseAndRate.dose[x]\n",
+ "parent_element_path = MedicationRequest.dosageInstruction.doseAndRate datatype_element_path = dose[x]\n",
+ "❓ ❓ ❓ Is the short 'Amount of medication per dose' the same as the base - None ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: MedicationRequest.dispenseRequest\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Medication supply authorization to Medication supply authorization\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.dispenseRequest)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest) == (element_path = MedicationRequest.dispenseRequest)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Medication supply authorization' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 20: MedicationRequest.dispenseRequest.numberOfRepeatsAllowed\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Number of refills authorized to Number of refills authorized\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.quantity) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.duration) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.dispenseInterval) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.validityPeriod) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed) == (element_path = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Number of refills authorized' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 21: MedicationRequest.dispenseRequest.quantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Amount of medication to supply per dispense to Amount of medication to supply per dispense\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationRequest.json, MedicationRequest======\n",
+ "(element['id'] = MedicationRequest) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.identifier) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.status) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.statusReason) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.intent) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.category) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.priority) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.doNotPerform) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reported[x]) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.medication[x]) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.subject) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.encounter) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.supportingInformation) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.authoredOn) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.requester) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performer) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.performerType) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.recorder) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonCode) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.reasonReference) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesCanonical) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.instantiatesUri) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.basedOn) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.groupIdentifier) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.courseOfTherapyType) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.insurance) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.note) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dosageInstruction) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.quantity) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.initialFill.duration) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.dispenseInterval) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.validityPeriod) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.numberOfRepeatsAllowed) == (element_path = MedicationRequest.dispenseRequest.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationRequest.dispenseRequest.quantity) == (element_path = MedicationRequest.dispenseRequest.quantity)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Amount of medication to supply per dispense' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-ethnicity.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.extension:ombCategory\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Hispanic or Latino|Not Hispanic or Latino to Hispanic or Latino|Not Hispanic or Latino\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Extension.json, Extension======\n",
+ "(element['id'] = Extension) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.url) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.value[x]) == (element_path = Extension.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Extension.extension\n",
+ "parent_element_path = Extension datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.extension:ombCategory.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Extension.extension:ombCategory.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Extension.extension:detailed\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Extension.extension:detailed.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Extension.extension:detailed.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Extension.extension:text\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) ethnicity Text to ethnicity Text\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Extension.json, Extension======\n",
+ "(element['id'] = Extension) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.url) == (element_path = Extension.extension)? False❗❗❗\n",
+ "(element['id'] = Extension.value[x]) == (element_path = Extension.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Extension.extension\n",
+ "parent_element_path = Extension datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Extension.extension:text.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Extension.extension:text.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Average Blood Pressure to Average Blood Pressure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Average Blood Pressure' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.effective[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) clinically relevant time-period for the average of blood pressure (BP) readings to clinically relevant time-period for the average of blood pressure (BP) readings\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'clinically relevant time-period for the average of blood pressure (BP) readings' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.component\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Component observations to Component observations\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Component observations' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.component:systolic\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Average Systolic Blood Pressure to Average Systolic Blood Pressure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Average Systolic Blood Pressure' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.component:systolic.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Average Systolic Blood Pressure Code to Average Systolic Blood Pressure Code\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Average Systolic Blood Pressure Code' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.component:systolic.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.component:systolic.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].value\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.component:systolic.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].unit\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.component:systolic.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].system\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.component:systolic.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].code\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded form of the unit\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.component:diastolic\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Average Diastolic Blood Pressure to Average Diastolic Blood Pressure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Average Diastolic Blood Pressure' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Observation.component:diastolic.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Average Diastolic Blood Pressure Code to Average Diastolic Blood Pressure Code\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Average Diastolic Blood Pressure Code' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Observation.component:diastolic.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Observation.component:diastolic.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].value\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Observation.component:diastolic.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].unit\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Observation.component:diastolic.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].system\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Observation.component:diastolic.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.component.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.component.value[x].code\n",
+ "parent_element_path = Observation.component.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded form of the unit\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-vital-signs.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:VSCat\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.category:VSCat.coding\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Code defined by a terminology system to Code defined by a terminology system\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.category.coding)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.category.coding\n",
+ "parent_element_path = Observation.category datatype_element_path = coding\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.coding, shorty = Code defined by a terminology system\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.coding)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.coding)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Code defined by a terminology system' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.category:VSCat.coding.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Identity of the terminology system to Identity of the terminology system\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.category.coding.system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.category.coding.system\n",
+ "parent_element_path = Observation.category.coding datatype_element_path = system\n",
+ "❓ ❓ ❓ Is the short 'Identity of the terminology system' the same as the base - None ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.category:VSCat.coding.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Symbol in syntax defined by the system to Symbol in syntax defined by the system\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.category.coding.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.category.coding.code\n",
+ "parent_element_path = Observation.category.coding datatype_element_path = code\n",
+ "❓ ❓ ❓ Is the short 'Symbol in syntax defined by the system' the same as the base - None ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded Responses from C-CDA Vital Sign Results to Coded Responses from C-CDA Vital Sign Results\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded Responses from C-CDA Vital Sign Results' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.effective[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Often just a dateTime for Vital Signs to Often just a dateTime for Vital Signs\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Often just a dateTime for Vital Signs' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Observation.value[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Observation.dataAbsentReason\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Why the result is missing to Why the result is missing\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.dataAbsentReason)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Why the result is missing' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Observation.component\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Component observations to Component observations\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Component observations' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Observation.component.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of component observation (code / type) to Type of component observation (code / type)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of component observation (code / type)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Observation.component.value[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Observation.component.dataAbsentReason\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Why the component result is missing to Why the component result is missing\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.component.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.component.dataAbsentReason)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Why the component result is missing' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-simple-observation.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:us-core\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of observation (code / type) to Type of observation (code / type)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of observation (code / type)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.effective[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinically relevant time/time-period for observation to Clinically relevant time/time-period for observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinically relevant time/time-period for observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.performer\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who is responsible for the observation to Who is responsible for the observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.performer)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who is responsible for the observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.value[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Actual result to Actual result\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Actual result' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.derivedFrom\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) US Core Profiles or other resource the observation is made from to US Core Profiles or other resource the observation is made from\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.derivedFrom)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'US Core Profiles or other resource the observation is made from' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation.category:us-core\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Laboratory Test Name to Laboratory Test Name\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Laboratory Test Name' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.value[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Result Value to Result Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Result Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.interpretation\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Result interpretation to Result interpretation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.interpretation)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.interpretation)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Result interpretation' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.specimen\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Specimen used for this observation to Specimen used for this observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.specimen)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.specimen)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Specimen used for this observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.referenceRange\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Result reference range to Result reference range\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.referenceRange)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.referenceRange)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Result reference range' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medicationdispense.yml***********\n",
+ "☞ ☞ ☞ Type = MedicationDispense\n",
+ "☞ ☞ ☞ element 0: MedicationDispense\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: MedicationDispense.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown to preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.status)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.status)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.status)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: MedicationDispense.medication[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) What medication was supplied to What medication was supplied\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.medication[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.medication[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'What medication was supplied' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: MedicationDispense.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who the dispense is for to Who the dispense is for\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.subject)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who the dispense is for' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: MedicationDispense.context\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Encounter associated with MedicationDispense to Encounter associated with MedicationDispense\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.context)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.context)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.context)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.context)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.context)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.context)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.context)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.context)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.context)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Encounter associated with MedicationDispense' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: MedicationDispense.performer\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who performed event to Who performed event\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.performer)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.performer)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who performed event' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: MedicationDispense.performer.actor\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Individual who was performing to Individual who was performing\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.performer.actor)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.performer.actor)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Individual who was performing' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: MedicationDispense.authorizingPrescription\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Medication order that authorizes the dispense to Medication order that authorizes the dispense\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.authorizingPrescription)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.authorizingPrescription)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Medication order that authorizes the dispense' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: MedicationDispense.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Trial fill, partial fill, emergency fill, etc. to Trial fill, partial fill, emergency fill, etc.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.type)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.type) == (element_path = MedicationDispense.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Trial fill, partial fill, emergency fill, etc.' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: MedicationDispense.quantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Amount dispensed to Amount dispensed\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.type) == (element_path = MedicationDispense.quantity)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.quantity) == (element_path = MedicationDispense.quantity)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Amount dispensed' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: MedicationDispense.whenHandedOver\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When product was given out or mailed to When product was given out or mailed\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.type) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.quantity) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.daysSupply) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenPrepared) == (element_path = MedicationDispense.whenHandedOver)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenHandedOver) == (element_path = MedicationDispense.whenHandedOver)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When product was given out or mailed' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: MedicationDispense.dosageInstruction\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) How the medication is to be used by the patient or administered by the caregiver to How the medication is to be used by the patient or administered by the caregiver\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.type) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.quantity) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.daysSupply) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenPrepared) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenHandedOver) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.destination) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.receiver) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.note) == (element_path = MedicationDispense.dosageInstruction)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.dosageInstruction) == (element_path = MedicationDispense.dosageInstruction)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'How the medication is to be used by the patient or administered by the caregiver' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: MedicationDispense.dosageInstruction.text\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Free text dosage instructions e.g. SIG to Free text dosage instructions e.g. SIG\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.type) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.quantity) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.daysSupply) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenPrepared) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenHandedOver) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.destination) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.receiver) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.note) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.dosageInstruction) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.wasSubstituted) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.type) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.reason) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.responsibleParty) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.detectedIssue) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.eventHistory) == (element_path = MedicationDispense.dosageInstruction.text)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationDispense.dosageInstruction.text\n",
+ "parent_element_path = MedicationDispense.dosageInstruction datatype_element_path = text\n",
+ "datatype = Dosage\n",
+ "type = Dosage, path = Dosage.text, shorty = Free text dosage instructions e.g. SIG\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Dosage.json, Dosage======\n",
+ "(element['id'] = Dosage) == (element_path = Dosage.text)? False❗❗❗\n",
+ "(element['id'] = Dosage.sequence) == (element_path = Dosage.text)? False❗❗❗\n",
+ "(element['id'] = Dosage.text) == (element_path = Dosage.text)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Free text dosage instructions e.g. SIG' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: MedicationDispense.dosageInstruction.timing\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When medication should be administered to When medication should be administered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.type) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.quantity) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.daysSupply) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenPrepared) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenHandedOver) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.destination) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.receiver) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.note) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.dosageInstruction) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.wasSubstituted) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.type) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.reason) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.responsibleParty) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.detectedIssue) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.eventHistory) == (element_path = MedicationDispense.dosageInstruction.timing)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationDispense.dosageInstruction.timing\n",
+ "parent_element_path = MedicationDispense.dosageInstruction datatype_element_path = timing\n",
+ "datatype = Dosage\n",
+ "type = Dosage, path = Dosage.timing, shorty = When medication should be administered\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Dosage.json, Dosage======\n",
+ "(element['id'] = Dosage) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.sequence) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.text) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.additionalInstruction) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.patientInstruction) == (element_path = Dosage.timing)? False❗❗❗\n",
+ "(element['id'] = Dosage.timing) == (element_path = Dosage.timing)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When medication should be administered' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: MedicationDispense.dosageInstruction.doseAndRate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Amount of medication administered to Amount of medication administered\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.type) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.quantity) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.daysSupply) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenPrepared) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenHandedOver) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.destination) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.receiver) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.note) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.dosageInstruction) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.wasSubstituted) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.type) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.reason) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.responsibleParty) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.detectedIssue) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.eventHistory) == (element_path = MedicationDispense.dosageInstruction.doseAndRate)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationDispense.dosageInstruction.doseAndRate\n",
+ "parent_element_path = MedicationDispense.dosageInstruction datatype_element_path = doseAndRate\n",
+ "datatype = Dosage\n",
+ "type = Dosage, path = Dosage.doseAndRate, shorty = Amount of medication administered\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Dosage.json, Dosage======\n",
+ "(element['id'] = Dosage) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.sequence) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.text) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.additionalInstruction) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.patientInstruction) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.timing) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.asNeeded[x]) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.site) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.route) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.method) == (element_path = Dosage.doseAndRate)? False❗❗❗\n",
+ "(element['id'] = Dosage.doseAndRate) == (element_path = Dosage.doseAndRate)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Amount of medication administered' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: MedicationDispense.dosageInstruction.doseAndRate.dose[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Amount of medication per dose to Amount of medication per dose\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-MedicationDispense.json, MedicationDispense======\n",
+ "(element['id'] = MedicationDispense) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.identifier) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.partOf) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.status) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.statusReason[x]) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.category) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.medication[x]) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.subject) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.context) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.supportingInformation) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.function) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.performer.actor) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.location) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.authorizingPrescription) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.type) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.quantity) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.daysSupply) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenPrepared) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.whenHandedOver) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.destination) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.receiver) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.note) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.dosageInstruction) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.wasSubstituted) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.type) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.reason) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.substitution.responsibleParty) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.detectedIssue) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "(element['id'] = MedicationDispense.eventHistory) == (element_path = MedicationDispense.dosageInstruction.doseAndRate.dose[x])? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path MedicationDispense.dosageInstruction.doseAndRate.dose[x]\n",
+ "parent_element_path = MedicationDispense.dosageInstruction.doseAndRate datatype_element_path = dose[x]\n",
+ "❓ ❓ ❓ Is the short 'Amount of medication per dose' the same as the base - None ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-careteam.yml***********\n",
+ "☞ ☞ ☞ Type = CareTeam\n",
+ "☞ ☞ ☞ element 0: CareTeam\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: CareTeam.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) proposed | active | suspended | inactive | entered-in-error to proposed | active | suspended | inactive | entered-in-error\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CareTeam.json, CareTeam======\n",
+ "(element['id'] = CareTeam) == (element_path = CareTeam.status)? False❗❗❗\n",
+ "(element['id'] = CareTeam.identifier) == (element_path = CareTeam.status)? False❗❗❗\n",
+ "(element['id'] = CareTeam.status) == (element_path = CareTeam.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'proposed | active | suspended | inactive | entered-in-error' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: CareTeam.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who care team is for to Who care team is for\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CareTeam.json, CareTeam======\n",
+ "(element['id'] = CareTeam) == (element_path = CareTeam.subject)? False❗❗❗\n",
+ "(element['id'] = CareTeam.identifier) == (element_path = CareTeam.subject)? False❗❗❗\n",
+ "(element['id'] = CareTeam.status) == (element_path = CareTeam.subject)? False❗❗❗\n",
+ "(element['id'] = CareTeam.category) == (element_path = CareTeam.subject)? False❗❗❗\n",
+ "(element['id'] = CareTeam.name) == (element_path = CareTeam.subject)? False❗❗❗\n",
+ "(element['id'] = CareTeam.subject) == (element_path = CareTeam.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who care team is for' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: CareTeam.participant\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Members of the team to Members of the team\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CareTeam.json, CareTeam======\n",
+ "(element['id'] = CareTeam) == (element_path = CareTeam.participant)? False❗❗❗\n",
+ "(element['id'] = CareTeam.identifier) == (element_path = CareTeam.participant)? False❗❗❗\n",
+ "(element['id'] = CareTeam.status) == (element_path = CareTeam.participant)? False❗❗❗\n",
+ "(element['id'] = CareTeam.category) == (element_path = CareTeam.participant)? False❗❗❗\n",
+ "(element['id'] = CareTeam.name) == (element_path = CareTeam.participant)? False❗❗❗\n",
+ "(element['id'] = CareTeam.subject) == (element_path = CareTeam.participant)? False❗❗❗\n",
+ "(element['id'] = CareTeam.encounter) == (element_path = CareTeam.participant)? False❗❗❗\n",
+ "(element['id'] = CareTeam.period) == (element_path = CareTeam.participant)? False❗❗❗\n",
+ "(element['id'] = CareTeam.participant) == (element_path = CareTeam.participant)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Members of the team' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: CareTeam.participant.role\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Type of involvement to Type of involvement\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CareTeam.json, CareTeam======\n",
+ "(element['id'] = CareTeam) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.identifier) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.status) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.category) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.name) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.subject) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.encounter) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.period) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.participant) == (element_path = CareTeam.participant.role)? False❗❗❗\n",
+ "(element['id'] = CareTeam.participant.role) == (element_path = CareTeam.participant.role)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of involvement' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: CareTeam.participant.member\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who is involved to Who is involved\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CareTeam.json, CareTeam======\n",
+ "(element['id'] = CareTeam) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.identifier) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.status) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.category) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.name) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.subject) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.encounter) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.period) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.participant) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.participant.role) == (element_path = CareTeam.participant.member)? False❗❗❗\n",
+ "(element['id'] = CareTeam.participant.member) == (element_path = CareTeam.participant.member)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who is involved' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-genderidentity.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-procedure.yml***********\n",
+ "☞ ☞ ☞ Type = Procedure\n",
+ "☞ ☞ ☞ element 0: Procedure\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Procedure.basedOn\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) A request for this procedure to A request for this procedure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Procedure.json, Procedure======\n",
+ "(element['id'] = Procedure) == (element_path = Procedure.basedOn)? False❗❗❗\n",
+ "(element['id'] = Procedure.identifier) == (element_path = Procedure.basedOn)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesCanonical) == (element_path = Procedure.basedOn)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesUri) == (element_path = Procedure.basedOn)? False❗❗❗\n",
+ "(element['id'] = Procedure.basedOn) == (element_path = Procedure.basedOn)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'A request for this procedure' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Procedure.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown to preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Procedure.json, Procedure======\n",
+ "(element['id'] = Procedure) == (element_path = Procedure.status)? False❗❗❗\n",
+ "(element['id'] = Procedure.identifier) == (element_path = Procedure.status)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesCanonical) == (element_path = Procedure.status)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesUri) == (element_path = Procedure.status)? False❗❗❗\n",
+ "(element['id'] = Procedure.basedOn) == (element_path = Procedure.status)? False❗❗❗\n",
+ "(element['id'] = Procedure.partOf) == (element_path = Procedure.status)? False❗❗❗\n",
+ "(element['id'] = Procedure.status) == (element_path = Procedure.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Procedure.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Identification of the procedure to Identification of the procedure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Procedure.json, Procedure======\n",
+ "(element['id'] = Procedure) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.identifier) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesCanonical) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesUri) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.basedOn) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.partOf) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.status) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.statusReason) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.category) == (element_path = Procedure.code)? False❗❗❗\n",
+ "(element['id'] = Procedure.code) == (element_path = Procedure.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Identification of the procedure' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Procedure.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who the procedure was performed on to Who the procedure was performed on\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Procedure.json, Procedure======\n",
+ "(element['id'] = Procedure) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.identifier) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesCanonical) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesUri) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.basedOn) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.partOf) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.status) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.statusReason) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.category) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.code) == (element_path = Procedure.subject)? False❗❗❗\n",
+ "(element['id'] = Procedure.subject) == (element_path = Procedure.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who the procedure was performed on' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Procedure.encounter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Encounter associated with the procedure to Encounter associated with the procedure\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Procedure.json, Procedure======\n",
+ "(element['id'] = Procedure) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.identifier) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesCanonical) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesUri) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.basedOn) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.partOf) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.status) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.statusReason) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.category) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.code) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.subject) == (element_path = Procedure.encounter)? False❗❗❗\n",
+ "(element['id'] = Procedure.encounter) == (element_path = Procedure.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Encounter associated with the procedure' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Procedure.performed[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When the procedure was performed to When the procedure was performed\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Procedure.json, Procedure======\n",
+ "(element['id'] = Procedure) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.identifier) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesCanonical) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.instantiatesUri) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.basedOn) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.partOf) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.status) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.statusReason) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.category) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.code) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.subject) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.encounter) == (element_path = Procedure.performed[x])? False❗❗❗\n",
+ "(element['id'] = Procedure.performed[x]) == (element_path = Procedure.performed[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When the procedure was performed' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-documentreference.yml***********\n",
+ "☞ ☞ ☞ Type = DocumentReference\n",
+ "☞ ☞ ☞ element 0: DocumentReference\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: DocumentReference.identifier\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Other identifiers for the document to Other identifiers for the document\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.identifier)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.identifier)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.identifier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Other identifiers for the document' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: DocumentReference.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) current | superseded | entered-in-error to current | superseded | entered-in-error\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.status)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.status)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.status)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'current | superseded | entered-in-error' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: DocumentReference.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Kind of document (LOINC if possible) to Kind of document (LOINC if possible)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.type)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.type)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.type)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.type)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.type)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Kind of document (LOINC if possible)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: DocumentReference.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Categorization of document to Categorization of document\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Categorization of document' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: DocumentReference.category:uscore\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Categorization of document to Categorization of document\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.category)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Categorization of document' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: DocumentReference.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who/what is the subject of the document to Who/what is the subject of the document\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.subject)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.subject)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.subject)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.subject)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.subject)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.subject)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.subject)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who/what is the subject of the document' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: DocumentReference.date\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) When this document reference was created to When this document reference was created\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.date)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.date)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.date)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.date)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.date)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.date)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.date)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.date)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.date)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When this document reference was created' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: DocumentReference.author\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who and/or what authored the document to Who and/or what authored the document\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.author)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.author)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what authored the document' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: DocumentReference.content\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Document referenced to Document referenced\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.content)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.content)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Document referenced' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: DocumentReference.content.attachment\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Where to access the document to Where to access the document\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.content.attachment)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.attachment) == (element_path = DocumentReference.content.attachment)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Where to access the document' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: DocumentReference.content.attachment.contentType\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Mime type of the content, with charset etc. to Mime type of the content, with charset etc.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.attachment) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.format) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.encounter) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.event) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.period) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.facilityType) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.practiceSetting) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.sourcePatientInfo) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.related) == (element_path = DocumentReference.content.attachment.contentType)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path DocumentReference.content.attachment.contentType\n",
+ "parent_element_path = DocumentReference.content.attachment datatype_element_path = contentType\n",
+ "datatype = Attachment\n",
+ "type = Attachment, path = Attachment.contentType, shorty = Mime type of the content, with charset etc.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Attachment.json, Attachment======\n",
+ "(element['id'] = Attachment) == (element_path = Attachment.contentType)? False❗❗❗\n",
+ "(element['id'] = Attachment.contentType) == (element_path = Attachment.contentType)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Mime type of the content, with charset etc.' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: DocumentReference.content.attachment.data\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Data inline, base64ed to Data inline, base64ed\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.attachment) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.format) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.encounter) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.event) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.period) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.facilityType) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.practiceSetting) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.sourcePatientInfo) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.related) == (element_path = DocumentReference.content.attachment.data)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path DocumentReference.content.attachment.data\n",
+ "parent_element_path = DocumentReference.content.attachment datatype_element_path = data\n",
+ "datatype = Attachment\n",
+ "type = Attachment, path = Attachment.data, shorty = Data inline, base64ed\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Attachment.json, Attachment======\n",
+ "(element['id'] = Attachment) == (element_path = Attachment.data)? False❗❗❗\n",
+ "(element['id'] = Attachment.contentType) == (element_path = Attachment.data)? False❗❗❗\n",
+ "(element['id'] = Attachment.language) == (element_path = Attachment.data)? False❗❗❗\n",
+ "(element['id'] = Attachment.data) == (element_path = Attachment.data)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Data inline, base64ed' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: DocumentReference.content.attachment.url\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Uri where the data can be found to Uri where the data can be found\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.attachment) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.format) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.encounter) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.event) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.period) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.facilityType) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.practiceSetting) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.sourcePatientInfo) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.related) == (element_path = DocumentReference.content.attachment.url)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path DocumentReference.content.attachment.url\n",
+ "parent_element_path = DocumentReference.content.attachment datatype_element_path = url\n",
+ "datatype = Attachment\n",
+ "type = Attachment, path = Attachment.url, shorty = Uri where the data can be found\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Attachment.json, Attachment======\n",
+ "(element['id'] = Attachment) == (element_path = Attachment.url)? False❗❗❗\n",
+ "(element['id'] = Attachment.contentType) == (element_path = Attachment.url)? False❗❗❗\n",
+ "(element['id'] = Attachment.language) == (element_path = Attachment.url)? False❗❗❗\n",
+ "(element['id'] = Attachment.data) == (element_path = Attachment.url)? False❗❗❗\n",
+ "(element['id'] = Attachment.url) == (element_path = Attachment.url)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Uri where the data can be found' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: DocumentReference.content.format\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Format/content rules for the document to Format/content rules for the document\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.attachment) == (element_path = DocumentReference.content.format)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.format) == (element_path = DocumentReference.content.format)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Format/content rules for the document' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: DocumentReference.context\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinical context of document to Clinical context of document\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.attachment) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.format) == (element_path = DocumentReference.context)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context) == (element_path = DocumentReference.context)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinical context of document' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: DocumentReference.context.encounter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Context of the document content to Context of the document content\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.attachment) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.format) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context) == (element_path = DocumentReference.context.encounter)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.encounter) == (element_path = DocumentReference.context.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Context of the document content' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: DocumentReference.context.period\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Time of service that is being documented to Time of service that is being documented\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DocumentReference.json, DocumentReference======\n",
+ "(element['id'] = DocumentReference) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.masterIdentifier) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.identifier) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.status) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.docStatus) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.type) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.category) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.subject) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.date) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.author) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.authenticator) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.custodian) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.code) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.relatesTo.target) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.description) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.securityLabel) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.attachment) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.content.format) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.encounter) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.event) == (element_path = DocumentReference.context.period)? False❗❗❗\n",
+ "(element['id'] = DocumentReference.context.period) == (element_path = DocumentReference.context.period)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Time of service that is being documented' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-jurisdiction.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-clinical-result.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:us-core\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinical Test or Procedure Name to Clinical Test or Procedure Name\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinical Test or Procedure Name' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.encounter\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Encounter associated with Observation to Encounter associated with Observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.encounter)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Encounter associated with Observation' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.effective[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinically relevant time/time-period for observation to Clinically relevant time/time-period for observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinically relevant time/time-period for observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Observation.value[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Result Value to Result Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Result Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Observation.dataAbsentReason\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Why the result is missing to Why the result is missing\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.dataAbsentReason)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Why the result is missing' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-height.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Body Height to Body Height\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Body Height' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-encounter.yml***********\n",
+ "☞ ☞ ☞ Type = Encounter\n",
+ "☞ ☞ ☞ element 0: Encounter\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Encounter.identifier\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Identifier(s) by which this encounter is known to Identifier(s) by which this encounter is known\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.identifier)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.identifier)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Identifier(s) by which this encounter is known' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Encounter.identifier.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The namespace for the identifier value to The namespace for the identifier value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonReference) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.condition) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.use) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.rank) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.account) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.preAdmissionIdentifier) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.origin) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.admitSource) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.reAdmission) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dietPreference) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialCourtesy) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialArrangement) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.destination) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dischargeDisposition) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.location) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.location) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.status) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.physicalType) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.period) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceProvider) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "(element['id'] = Encounter.partOf) == (element_path = Encounter.identifier.system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Encounter.identifier.system\n",
+ "parent_element_path = Encounter.identifier datatype_element_path = system\n",
+ "datatype = Identifier\n",
+ "type = Identifier, path = Identifier.system, shorty = The namespace for the identifier value\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Identifier.json, Identifier======\n",
+ "(element['id'] = Identifier) == (element_path = Identifier.system)? False❗❗❗\n",
+ "(element['id'] = Identifier.use) == (element_path = Identifier.system)? False❗❗❗\n",
+ "(element['id'] = Identifier.type) == (element_path = Identifier.system)? False❗❗❗\n",
+ "(element['id'] = Identifier.system) == (element_path = Identifier.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The namespace for the identifier value' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Encounter.identifier.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The value that is unique to The value that is unique\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonReference) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.condition) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.use) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.rank) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.account) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.preAdmissionIdentifier) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.origin) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.admitSource) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.reAdmission) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dietPreference) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialCourtesy) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialArrangement) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.destination) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dischargeDisposition) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.location) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.location) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.status) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.physicalType) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.period) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceProvider) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "(element['id'] = Encounter.partOf) == (element_path = Encounter.identifier.value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Encounter.identifier.value\n",
+ "parent_element_path = Encounter.identifier datatype_element_path = value\n",
+ "datatype = Identifier\n",
+ "type = Identifier, path = Identifier.value, shorty = The value that is unique\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Identifier.json, Identifier======\n",
+ "(element['id'] = Identifier) == (element_path = Identifier.value)? False❗❗❗\n",
+ "(element['id'] = Identifier.use) == (element_path = Identifier.value)? False❗❗❗\n",
+ "(element['id'] = Identifier.type) == (element_path = Identifier.value)? False❗❗❗\n",
+ "(element['id'] = Identifier.system) == (element_path = Identifier.value)? False❗❗❗\n",
+ "(element['id'] = Identifier.value) == (element_path = Identifier.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The value that is unique' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Encounter.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) planned | arrived | triaged | in-progress | onleave | finished | cancelled + to planned | arrived | triaged | in-progress | onleave | finished | cancelled +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.status)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.status)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'planned | arrived | triaged | in-progress | onleave | finished | cancelled +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Encounter.class\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of patient encounter to Classification of patient encounter\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.class)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.class)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.class)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.class)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.class)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.class)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.class)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of patient encounter' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Encounter.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Specific type of encounter to Specific type of encounter\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Specific type of encounter' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Encounter.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The patient or group present at the encounter to The patient or group present at the encounter\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.subject)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The patient or group present at the encounter' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Encounter.participant\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) List of participants involved in the encounter to List of participants involved in the encounter\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.participant)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.participant)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'List of participants involved in the encounter' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Encounter.participant.type\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Role of participant in encounter to Role of participant in encounter\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.participant.type)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.participant.type)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Role of participant in encounter' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Encounter.participant.period\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Period of time during the encounter that the participant participated to Period of time during the encounter that the participant participated\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.participant.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.participant.period)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Period of time during the encounter that the participant participated' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Encounter.participant.individual\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Persons involved in the encounter other than the patient to Persons involved in the encounter other than the patient\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.participant.individual)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.participant.individual)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Persons involved in the encounter other than the patient' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Encounter.period\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The start and end time of the encounter to The start and end time of the encounter\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.period)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.period)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The start and end time of the encounter' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Encounter.reasonCode\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded reason the encounter takes place to Coded reason the encounter takes place\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.reasonCode)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.reasonCode)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded reason the encounter takes place' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Encounter.reasonReference\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Reason the encounter takes place (reference) to Reason the encounter takes place (reference)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.reasonReference)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonReference) == (element_path = Encounter.reasonReference)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Reason the encounter takes place (reference)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Encounter.hospitalization\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Details about the admission to a healthcare service to Details about the admission to a healthcare service\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonReference) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.condition) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.use) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.rank) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.account) == (element_path = Encounter.hospitalization)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization) == (element_path = Encounter.hospitalization)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Details about the admission to a healthcare service' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 16: Encounter.hospitalization.dischargeDisposition\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Category or kind of location after discharge to Category or kind of location after discharge\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonReference) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.condition) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.use) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.rank) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.account) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.preAdmissionIdentifier) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.origin) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.admitSource) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.reAdmission) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dietPreference) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialCourtesy) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialArrangement) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.destination) == (element_path = Encounter.hospitalization.dischargeDisposition)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dischargeDisposition) == (element_path = Encounter.hospitalization.dischargeDisposition)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Category or kind of location after discharge' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 17: Encounter.location\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) List of locations where the patient has been to List of locations where the patient has been\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonReference) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.condition) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.use) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.rank) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.account) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.preAdmissionIdentifier) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.origin) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.admitSource) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.reAdmission) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dietPreference) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialCourtesy) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialArrangement) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.destination) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dischargeDisposition) == (element_path = Encounter.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.location) == (element_path = Encounter.location)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'List of locations where the patient has been' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 18: Encounter.location.location\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Location the encounter takes place to Location the encounter takes place\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonReference) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.condition) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.use) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.rank) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.account) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.preAdmissionIdentifier) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.origin) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.admitSource) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.reAdmission) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dietPreference) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialCourtesy) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialArrangement) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.destination) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dischargeDisposition) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.location) == (element_path = Encounter.location.location)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.location) == (element_path = Encounter.location.location)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Location the encounter takes place' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 19: Encounter.serviceProvider\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) The organization (facility) responsible for this encounter to The organization (facility) responsible for this encounter\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Encounter.json, Encounter======\n",
+ "(element['id'] = Encounter) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.identifier) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.status) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.status) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.statusHistory.period) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.class) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.class) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.classHistory.period) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.type) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceType) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.priority) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.subject) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.episodeOfCare) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.basedOn) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.type) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.period) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.participant.individual) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.appointment) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.period) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.length) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonCode) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.reasonReference) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.condition) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.use) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.diagnosis.rank) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.account) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.preAdmissionIdentifier) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.origin) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.admitSource) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.reAdmission) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dietPreference) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialCourtesy) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.specialArrangement) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.destination) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.hospitalization.dischargeDisposition) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.location) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.location) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.status) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.physicalType) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.location.period) == (element_path = Encounter.serviceProvider)? False❗❗❗\n",
+ "(element['id'] = Encounter.serviceProvider) == (element_path = Encounter.serviceProvider)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The organization (facility) responsible for this encounter' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-temperature.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Body Temperature to Body Temperature\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Body Temperature' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-smokingstatus.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.category:SocialHistory\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Smoking Status to Smoking Status\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Smoking Status' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.effectiveDateTime\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Clinically relevant time/time-period for observation to Clinically relevant time/time-period for observation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinically relevant time/time-period for observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Observation.value[x]\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Typically Coded Responses from Smoking Status Value Set to Typically Coded Responses from Smoking Status Value Set\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Typically Coded Responses from Smoking Status Value Set' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-weight.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Body Weight to Body Weight\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Body Weight' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-respiratory-rate.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Respiratory Rate to Respiratory Rate\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Respiratory Rate' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-diagnosticreport-lab.yml***********\n",
+ "☞ ☞ ☞ Type = DiagnosticReport\n",
+ "☞ ☞ ☞ element 0: DiagnosticReport\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: DiagnosticReport.status\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) registered | partial | preliminary | final + to registered | partial | preliminary | final +\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.status)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.status)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.status)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | partial | preliminary | final +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: DiagnosticReport.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Service category to Service category\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Service category' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 1: MedicationStatement.extension:med-adherence\n",
+ "☞ ☞ ☞ element 3: DiagnosticReport.category:LaboratorySlice\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Indicates whether the medication is or is not being consumed or administered to Indicates whether the medication is or is not being consumed or administered\n",
+ " 👀 modify (USCDI) Service category to Service category\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Indicates whether the medication is or is not being consumed or administered' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.category)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Service category' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: MedicationStatement.basedOn\n",
+ "☞ ☞ ☞ element 4: DiagnosticReport.code\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) plan, proposal or order this is fulfilling to plan, proposal or order this is fulfilling\n",
+ " 👀 modify (USCDI) US Core Laboratory Report Order Code to US Core Laboratory Report Order Code\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'plan, proposal or order this is fulfilling' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.code)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'US Core Laboratory Report Order Code' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: MedicationStatement.status\n",
+ "☞ ☞ ☞ element 5: DiagnosticReport.subject\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- "Exception: KeyError\n",
- "Exception message: 'short'\n",
+ " 👀 modify (USCDI) The subject of the report - usually, but not always, the patient to The subject of the report - usually, but not always, the patient\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.subject)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The subject of the report - usually, but not always, the patient' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: MedicationStatement.medication[x]\n",
+ "☞ ☞ ☞ element 6: DiagnosticReport.encounter\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Medication taken to Medication taken\n",
+ " 👀 modify (USCDI) Encounter associated with DiagnosticReport to Encounter associated with DiagnosticReport\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Medication taken' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.encounter)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.encounter)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Encounter associated with DiagnosticReport' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: MedicationStatement.subject\n",
+ "☞ ☞ ☞ element 7: DiagnosticReport.effective[x]\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Who is/was taking the medication to Who is/was taking the medication\n",
+ " 👀 modify (USCDI) Diagnostically relevant time (typically the time of specimen collection) to Diagnostically relevant time (typically the time of specimen collection)\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Who is/was taking the medication' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.effective[x])? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Diagnostically relevant time (typically the time of specimen collection)' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: MedicationStatement.effective[x]\n",
+ "☞ ☞ ☞ element 8: DiagnosticReport.issued\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) The date/time or interval when the medication is/was/will be taken to The date/time or interval when the medication is/was/will be taken\n",
+ " 👀 modify (USCDI) When the report was released to When the report was released\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'The date/time or interval when the medication is/was/will be taken' the same as the base - True ❗❗❗\n",
- "❗❗❗remove short from the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.issued)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.issued)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When the report was released' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: MedicationStatement.dateAsserted\n",
+ "☞ ☞ ☞ element 9: DiagnosticReport.performer\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) When the statement was asserted to When the statement was asserted\n",
+ " 👀 modify (USCDI) Responsible Diagnostic Service to Responsible Diagnostic Service\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'When the statement was asserted' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.performer)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.performer) == (element_path = DiagnosticReport.performer)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Responsible Diagnostic Service' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: MedicationStatement.informationSource\n",
+ "☞ ☞ ☞ element 10: DiagnosticReport.result\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Person or organization that provided the information about the taking of this medication to Person or organization that provided the information about the taking of this medication\n",
+ " 👀 modify (USCDI) Observations to Observations\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Person or organization that provided the information about the taking of this medication' the same as the base - True ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-DiagnosticReport.json, DiagnosticReport======\n",
+ "(element['id'] = DiagnosticReport) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.identifier) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.basedOn) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.status) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.category) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.code) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.subject) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.encounter) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.effective[x]) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.issued) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.performer) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.resultsInterpreter) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.specimen) == (element_path = DiagnosticReport.result)? False❗❗❗\n",
+ "(element['id'] = DiagnosticReport.result) == (element_path = DiagnosticReport.result)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Observations' the same as the base - True ❗❗❗\n",
"❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: MedicationStatement.reasonCode\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-extension-questionnaire-uri.yml***********\n",
+ "☞ ☞ ☞ Type = Extension\n",
+ "☞ ☞ ☞ element 0: Extension\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Extension.url\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Extension.value[x]\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-pregnancyintent.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Reason for why the medication is being/was taken to Reason for why the medication is being/was taken\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Reason for why the medication is being/was taken' the same as the base - True ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
"❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: MedicationStatement.reasonReference\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Condition or observation that supports why the medication is being/was taken to Condition or observation that supports why the medication is being/was taken\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Condition or observation that supports why the medication is being/was taken' the same as the base - True ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
"❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 11: MedicationStatement.dosage\n",
+ "☞ ☞ ☞ element 3: Observation.category:SocialHistory\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) How the medication should be taken to How the medication should be taken\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'How the medication should be taken' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 12: MedicationStatement.dosage.text\n",
+ "☞ ☞ ☞ element 4: Observation.code\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Free text dosage instructions e.g. SIG to Free text dosage instructions e.g. SIG\n",
+ " 👀 modify (USCDI) Pregnancy Status to Pregnancy Status\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Free text dosage instructions e.g. SIG' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Pregnancy Status' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 13: MedicationStatement.dosage.timing\n",
+ "☞ ☞ ☞ element 5: Observation.subject\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) When medication should be administered to When medication should be administered\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'When medication should be administered' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 14: MedicationStatement.dosage.doseAndRate\n",
+ "☞ ☞ ☞ element 6: Observation.effectiveDateTime\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Amount of medication administered to Amount of medication administered\n",
+ " 👀 modify (USCDI) Clinically relevant time/time-period for observation to Clinically relevant time/time-period for observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Amount of medication administered' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinically relevant time/time-period for observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 15: MedicationStatement.dosage.doseAndRate.dose[x]\n",
+ "☞ ☞ ☞ element 7: Observation.valueCodeableConcept\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Amount of medication per dose to Amount of medication per dose\n",
+ " 👀 modify (USCDI) Coded Responses from Pregnancy Intent Value Set to Coded Responses from Pregnancy Intent Value Set\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Amount of medication per dose' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Coded Responses from Pregnancy Intent Value Set' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-us-core-patient.yml***********\n",
- "☞ ☞ ☞ Type = Patient\n",
- "☞ ☞ ☞ element 0: Patient\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-relatedperson.yml***********\n",
+ "☞ ☞ ☞ Type = RelatedPerson\n",
+ "☞ ☞ ☞ element 0: RelatedPerson\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Patient.extension:race\n",
+ "☞ ☞ ☞ element 1: RelatedPerson.active\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) US Core Race Extension to US Core Race Extension\n",
+ " 👀 modify (USCDI) Whether this related person's record is in active use to Whether this related person's record is in active use\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'US Core Race Extension' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-RelatedPerson.json, RelatedPerson======\n",
+ "(element['id'] = RelatedPerson) == (element_path = RelatedPerson.active)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.identifier) == (element_path = RelatedPerson.active)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.active) == (element_path = RelatedPerson.active)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Whether this related person's record is in active use' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Patient.extension:ethnicity\n",
+ "☞ ☞ ☞ element 2: RelatedPerson.patient\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) US Core ethnicity Extension to US Core ethnicity Extension\n",
+ " 👀 modify (USCDI) The patient this person is related to to The patient this person is related to\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'US Core ethnicity Extension' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-RelatedPerson.json, RelatedPerson======\n",
+ "(element['id'] = RelatedPerson) == (element_path = RelatedPerson.patient)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.identifier) == (element_path = RelatedPerson.patient)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.active) == (element_path = RelatedPerson.patient)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.patient) == (element_path = RelatedPerson.patient)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The patient this person is related to' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Patient.extension:tribalAffiliation\n",
+ "☞ ☞ ☞ element 3: RelatedPerson.relationship\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Tribal Affiliation Extension to Tribal Affiliation Extension\n",
+ " 👀 modify (USCDI) The nature of the relationship to The nature of the relationship\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Tribal Affiliation Extension' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-RelatedPerson.json, RelatedPerson======\n",
+ "(element['id'] = RelatedPerson) == (element_path = RelatedPerson.relationship)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.identifier) == (element_path = RelatedPerson.relationship)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.active) == (element_path = RelatedPerson.relationship)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.patient) == (element_path = RelatedPerson.relationship)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.relationship) == (element_path = RelatedPerson.relationship)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'The nature of the relationship' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Patient.extension:birthsex\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 5: Patient.extension:sex\n",
+ "☞ ☞ ☞ element 4: RelatedPerson.name\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Sex Extension to Sex Extension\n",
+ " 👀 modify (USCDI) A name associated with the person to A name associated with the person\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Sex Extension' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-RelatedPerson.json, RelatedPerson======\n",
+ "(element['id'] = RelatedPerson) == (element_path = RelatedPerson.name)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.identifier) == (element_path = RelatedPerson.name)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.active) == (element_path = RelatedPerson.name)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.patient) == (element_path = RelatedPerson.name)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.relationship) == (element_path = RelatedPerson.name)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.name) == (element_path = RelatedPerson.name)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'A name associated with the person' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Patient.extension:genderIdentity\n",
+ "☞ ☞ ☞ element 5: RelatedPerson.telecom\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) The individual's gender identity to The individual's gender identity\n",
+ " 👀 modify (USCDI) A contact detail for the person to A contact detail for the person\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'The individual's gender identity' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-RelatedPerson.json, RelatedPerson======\n",
+ "(element['id'] = RelatedPerson) == (element_path = RelatedPerson.telecom)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.identifier) == (element_path = RelatedPerson.telecom)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.active) == (element_path = RelatedPerson.telecom)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.patient) == (element_path = RelatedPerson.telecom)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.relationship) == (element_path = RelatedPerson.telecom)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.name) == (element_path = RelatedPerson.telecom)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.telecom) == (element_path = RelatedPerson.telecom)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'A contact detail for the person' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Patient.identifier\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 8: Patient.identifier.system\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 9: Patient.identifier.value\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 10: Patient.name\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 11: Patient.name.use\n",
+ "☞ ☞ ☞ element 6: RelatedPerson.address\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) usual | official | temp | nickname | anonymous | old | maiden to usual | official | temp | nickname | anonymous | old | maiden\n",
+ " 👀 modify (USCDI) Address where the related person can be contacted or visited to Address where the related person can be contacted or visited\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'usual | official | temp | nickname | anonymous | old | maiden' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-RelatedPerson.json, RelatedPerson======\n",
+ "(element['id'] = RelatedPerson) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.identifier) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.active) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.patient) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.relationship) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.name) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.telecom) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.gender) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.birthDate) == (element_path = RelatedPerson.address)? False❗❗❗\n",
+ "(element['id'] = RelatedPerson.address) == (element_path = RelatedPerson.address)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Address where the related person can be contacted or visited' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 12: Patient.name.family\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 13: Patient.name.given\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-condition-problems-health-concerns.yml***********\n",
+ "☞ ☞ ☞ Type = Condition\n",
+ "☞ ☞ ☞ element 0: Condition\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 14: Patient.name.suffix\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 1: Condition.extension:assertedDate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Date the condition was first asserted to Date the condition was first asserted\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.onset[x]) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.abatement[x]) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.recordedDate) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.recorder) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.asserter) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.stage) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.stage.summary) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.stage.assessment) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.stage.type) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.evidence) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.evidence.code) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.evidence.detail) == (element_path = Condition.extension)? False❗❗❗\n",
+ "(element['id'] = Condition.note) == (element_path = Condition.extension)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Condition.extension\n",
+ "parent_element_path = Condition datatype_element_path = extension\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 15: Patient.name.period\n",
+ "☞ ☞ ☞ element 2: Condition.clinicalStatus\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Time period when name was/is in use to Time period when name was/is in use\n",
+ " 👀 modify (USCDI) active | recurrence | relapse | inactive | remission | resolved to active | recurrence | relapse | inactive | remission | resolved\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Time period when name was/is in use' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.clinicalStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.clinicalStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.clinicalStatus)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'active | recurrence | relapse | inactive | remission | resolved' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 16: Patient.telecom\n",
+ "☞ ☞ ☞ element 3: Condition.verificationStatus\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) A contact detail for the individual to A contact detail for the individual\n",
+ " 👀 modify (USCDI) unconfirmed | provisional | differential | confirmed | refuted | entered-in-error to unconfirmed | provisional | differential | confirmed | refuted | entered-in-error\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'A contact detail for the individual' the same as the base - True ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.verificationStatus)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.verificationStatus)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'unconfirmed | provisional | differential | confirmed | refuted | entered-in-error' the same as the base - True ❗❗❗\n",
"❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 17: Patient.telecom.system\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 18: Patient.telecom.value\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 19: Patient.telecom.use\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 4: Condition.category\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) category codes to category codes\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'category codes' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 20: Patient.gender\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 5: Condition.category:us-core\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) problem-list-item | health-concern to problem-list-item | health-concern\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'problem-list-item | health-concern' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 21: Patient.birthDate\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 6: Condition.category:screening-assessment\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) USCDI Health Status/Assessments Data Class to USCDI Health Status/Assessments Data Class\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.category)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'USCDI Health Status/Assessments Data Class' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 22: Patient.deceased[x]\n",
+ "☞ ☞ ☞ element 7: Condition.code\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Indicates if the individual is deceased or not to Indicates if the individual is deceased or not\n",
+ " 👀 modify (USCDI) Identification of the condition, problem or diagnosis to Identification of the condition, problem or diagnosis\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Indicates if the individual is deceased or not' the same as the base - True ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.code)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Identification of the condition, problem or diagnosis' the same as the base - True ❗❗❗\n",
"❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 23: Patient.address\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 24: Patient.address.use\n",
+ "☞ ☞ ☞ element 8: Condition.subject\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) home | work | temp | old | billing - purpose of this address to home | work | temp | old | billing - purpose of this address\n",
+ " 👀 modify (USCDI) Who has the condition? to Who has the condition?\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'home | work | temp | old | billing - purpose of this address' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.subject)? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who has the condition?' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 25: Patient.address.line\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 26: Patient.address.city\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 27: Patient.address.state\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 28: Patient.address.postalCode\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 29: Patient.address.period\n",
+ "☞ ☞ ☞ element 9: Condition.onset[x]\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) Time period when address was/is in use to Time period when address was/is in use\n",
+ " 👀 modify (USCDI) Estimated or actual date, date-time, or age to Estimated or actual date, date-time, or age\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Time period when address was/is in use' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.onset[x])? False❗❗❗\n",
+ "(element['id'] = Condition.onset[x]) == (element_path = Condition.onset[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Estimated or actual date, date-time, or age' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 30: Patient.communication\n",
+ "☞ ☞ ☞ element 10: Condition.abatement[x]\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify ❗(𝗔𝗗𝗗'𝗟 𝗨𝗦𝗖𝗗𝗜) A language which may be used to communicate with the patient about his or her health to A language which may be used to communicate with the patient about his or her health\n",
+ " 👀 modify (USCDI) When in resolution/remission to When in resolution/remission\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'A language which may be used to communicate with the patient about his or her health' the same as the base - True ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.onset[x]) == (element_path = Condition.abatement[x])? False❗❗❗\n",
+ "(element['id'] = Condition.abatement[x]) == (element_path = Condition.abatement[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When in resolution/remission' the same as the base - True ❗❗❗\n",
"❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 31: Patient.communication.language\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "☞ ☞ ☞ element 11: Condition.recordedDate\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Date record was first recorded to Date record was first recorded\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Condition.json, Condition======\n",
+ "(element['id'] = Condition) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.identifier) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.clinicalStatus) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.verificationStatus) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.category) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.severity) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.code) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.bodySite) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.subject) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.encounter) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.onset[x]) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.abatement[x]) == (element_path = Condition.recordedDate)? False❗❗❗\n",
+ "(element['id'] = Condition.recordedDate) == (element_path = Condition.recordedDate)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Date record was first recorded' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
+ "❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
"----------------------------------------\n",
"\n",
"\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-us-core-average-blood-pressure.yml***********\n",
- "☞ ☞ ☞ Type = Observation\n",
- "☞ ☞ ☞ element 0: Observation\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-goal.yml***********\n",
+ "☞ ☞ ☞ Type = Goal\n",
+ "☞ ☞ ☞ element 0: Goal\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Observation.code\n",
+ "☞ ☞ ☞ element 1: Goal.lifecycleStatus\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Average Blood Pressure to Average Blood Pressure\n",
+ " 👀 modify (USCDI) proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected to proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Average Blood Pressure' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Goal.json, Goal======\n",
+ "(element['id'] = Goal) == (element_path = Goal.lifecycleStatus)? False❗❗❗\n",
+ "(element['id'] = Goal.identifier) == (element_path = Goal.lifecycleStatus)? False❗❗❗\n",
+ "(element['id'] = Goal.lifecycleStatus) == (element_path = Goal.lifecycleStatus)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Observation.effective[x]\n",
+ "☞ ☞ ☞ element 2: Goal.description\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) clinically relevant time-period for the average of blood pressure (BP) readings to clinically relevant time-period for the average of blood pressure (BP) readings\n",
+ " 👀 modify (USCDI) Code or text describing goal to Code or text describing goal\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'clinically relevant time-period for the average of blood pressure (BP) readings' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Goal.json, Goal======\n",
+ "(element['id'] = Goal) == (element_path = Goal.description)? False❗❗❗\n",
+ "(element['id'] = Goal.identifier) == (element_path = Goal.description)? False❗❗❗\n",
+ "(element['id'] = Goal.lifecycleStatus) == (element_path = Goal.description)? False❗❗❗\n",
+ "(element['id'] = Goal.achievementStatus) == (element_path = Goal.description)? False❗❗❗\n",
+ "(element['id'] = Goal.category) == (element_path = Goal.description)? False❗❗❗\n",
+ "(element['id'] = Goal.priority) == (element_path = Goal.description)? False❗❗❗\n",
+ "(element['id'] = Goal.description) == (element_path = Goal.description)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Code or text describing goal' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Observation.component\n",
+ "☞ ☞ ☞ element 3: Goal.subject\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Component observations to Component observations\n",
+ " 👀 modify (USCDI) Who this goal is intended for to Who this goal is intended for\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Component observations' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Goal.json, Goal======\n",
+ "(element['id'] = Goal) == (element_path = Goal.subject)? False❗❗❗\n",
+ "(element['id'] = Goal.identifier) == (element_path = Goal.subject)? False❗❗❗\n",
+ "(element['id'] = Goal.lifecycleStatus) == (element_path = Goal.subject)? False❗❗❗\n",
+ "(element['id'] = Goal.achievementStatus) == (element_path = Goal.subject)? False❗❗❗\n",
+ "(element['id'] = Goal.category) == (element_path = Goal.subject)? False❗❗❗\n",
+ "(element['id'] = Goal.priority) == (element_path = Goal.subject)? False❗❗❗\n",
+ "(element['id'] = Goal.description) == (element_path = Goal.subject)? False❗❗❗\n",
+ "(element['id'] = Goal.subject) == (element_path = Goal.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who this goal is intended for' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Observation.component:systolic\n",
+ "☞ ☞ ☞ element 4: Goal.start[x]\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Average Systolic Blood Pressure to Average Systolic Blood Pressure\n",
+ " 👀 modify (USCDI) When goal pursuit begins to When goal pursuit begins\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Average Systolic Blood Pressure' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Goal.json, Goal======\n",
+ "(element['id'] = Goal) == (element_path = Goal.start[x])? False❗❗❗\n",
+ "(element['id'] = Goal.identifier) == (element_path = Goal.start[x])? False❗❗❗\n",
+ "(element['id'] = Goal.lifecycleStatus) == (element_path = Goal.start[x])? False❗❗❗\n",
+ "(element['id'] = Goal.achievementStatus) == (element_path = Goal.start[x])? False❗❗❗\n",
+ "(element['id'] = Goal.category) == (element_path = Goal.start[x])? False❗❗❗\n",
+ "(element['id'] = Goal.priority) == (element_path = Goal.start[x])? False❗❗❗\n",
+ "(element['id'] = Goal.description) == (element_path = Goal.start[x])? False❗❗❗\n",
+ "(element['id'] = Goal.subject) == (element_path = Goal.start[x])? False❗❗❗\n",
+ "(element['id'] = Goal.start[x]) == (element_path = Goal.start[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'When goal pursuit begins' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 5: Observation.component:systolic.code\n",
+ "☞ ☞ ☞ element 5: Goal.target\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Average Systolic Blood Pressure Code to Average Systolic Blood Pressure Code\n",
+ " 👀 modify (USCDI) Target outcome for the goal to Target outcome for the goal\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Average Systolic Blood Pressure Code' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Goal.json, Goal======\n",
+ "(element['id'] = Goal) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.identifier) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.lifecycleStatus) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.achievementStatus) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.category) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.priority) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.description) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.subject) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.start[x]) == (element_path = Goal.target)? False❗❗❗\n",
+ "(element['id'] = Goal.target) == (element_path = Goal.target)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Target outcome for the goal' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 6: Observation.component:systolic.valueQuantity\n",
+ "☞ ☞ ☞ element 6: Goal.target.due[x]\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ " 👀 modify (USCDI) Reach goal on or before to Reach goal on or before\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Goal.json, Goal======\n",
+ "(element['id'] = Goal) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.identifier) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.lifecycleStatus) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.achievementStatus) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.category) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.priority) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.description) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.subject) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.start[x]) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.target) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.target.measure) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.target.detail[x]) == (element_path = Goal.target.due[x])? False❗❗❗\n",
+ "(element['id'] = Goal.target.due[x]) == (element_path = Goal.target.due[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Reach goal on or before' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 7: Observation.component:systolic.valueQuantity.value\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-practitioner.yml***********\n",
+ "☞ ☞ ☞ Type = Practitioner\n",
+ "☞ ☞ ☞ element 0: Practitioner\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Practitioner.identifier\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Practitioner.identifier.system\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Practitioner.identifier.value\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 4: Practitioner.identifier:NPI\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 5: Practitioner.name\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 6: Practitioner.name.family\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 7: Practitioner.telecom\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 8: Practitioner.telecom.system\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 9: Practitioner.telecom.value\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 10: Practitioner.address\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 11: Practitioner.address.line\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 12: Practitioner.address.city\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 13: Practitioner.address.state\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 14: Practitioner.address.postalCode\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 15: Practitioner.address.country\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-pediatric-bmi-for-age.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.code\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) BMI percentile per age and sex for youth 2-20 to BMI percentile per age and sex for youth 2-20\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'BMI percentile per age and sex for youth 2-20' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 2: Observation.valueQuantity\n",
+ "❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
+ "❗❗❗remove the extension element in the copy\n",
+ " 👀 modify (USCDI) Vital Signs Value to Vital Signs Value\n",
+ "❗❗❗modify the short in the copy\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Vital Signs Value' the same as the base - False ❗❗❗\n",
+ "❗❗❗ done with element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 3: Observation.valueQuantity.value\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].value)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].value\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = value\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.value, shorty = Numerical value (with implicit precision)\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.value)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.value)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 8: Observation.component:systolic.valueQuantity.unit\n",
+ "☞ ☞ ☞ element 4: Observation.valueQuantity.unit\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) Unit representation to Unit representation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].unit)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].unit\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = unit\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.unit, shorty = Unit representation\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.unit)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.unit)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 9: Observation.component:systolic.valueQuantity.system\n",
+ "☞ ☞ ☞ element 5: Observation.valueQuantity.system\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
" 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].system)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].system\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = system\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.system, shorty = System that defines coded unit form\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.system)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.system)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 10: Observation.component:systolic.valueQuantity.code\n",
+ "☞ ☞ ☞ element 6: Observation.valueQuantity.code\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ " 👀 modify (USCDI) Coded responses from the common UCUM units for vital signs value set. to Coded responses from the common UCUM units for vital signs value set.\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - None ❗❗❗\n",
- "❗❗❗ done with element\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.code) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.value[x]) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.dataAbsentReason) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.interpretation) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "(element['id'] = Observation.component.referenceRange) == (element_path = Observation.value[x].code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path Observation.value[x].code\n",
+ "parent_element_path = Observation.value[x] datatype_element_path = code\n",
+ "datatype = Quantity\n",
+ "type = Quantity, path = Quantity.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Quantity.json, Quantity======\n",
+ "(element['id'] = Quantity) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.value) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.comparator) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.unit) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.system) == (element_path = Quantity.code)? False❗❗❗\n",
+ "(element['id'] = Quantity.code) == (element_path = Quantity.code)? True❗❗❗\n",
+ "datatype = CodeableConcept\n",
+ "type = CodeableConcept, path = CodeableConcept.code, shorty = Coded responses from the common UCUM units for vital signs value set.\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-CodeableConcept.json, CodeableConcept======\n",
+ "(element['id'] = CodeableConcept) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.coding) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "(element['id'] = CodeableConcept.text) == (element_path = CodeableConcept.code)? False❗❗❗\n",
+ "❗❗❗element not found in base SD - look at the datatype in the path CodeableConcept.code\n",
+ "parent_element_path = CodeableConcept datatype_element_path = code\n",
+ "Exception: KeyError('type')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
"----------\n",
- "☞ ☞ ☞ element 11: Observation.component:diastolic\n",
+ "❗❗❗ done with SD\n",
+ "----------------------------------------\n",
+ "\n",
+ "\n",
+ "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-screening-assessment.yml***********\n",
+ "☞ ☞ ☞ Type = Observation\n",
+ "☞ ☞ ☞ element 0: Observation\n",
+ "Exception: KeyError('extension')\n",
+ "❗❗❗ if exception is KeyError('extension') then no extension on element\n",
+ "----------\n",
+ "☞ ☞ ☞ element 1: Observation.status\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Average Diastolic Blood Pressure to Average Diastolic Blood Pressure\n",
+ " 👀 modify (USCDI) registered | preliminary | final | amended + to registered | preliminary | final | amended +\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Average Diastolic Blood Pressure' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.status)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.status)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'registered | preliminary | final | amended +' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 12: Observation.component:diastolic.code\n",
+ "☞ ☞ ☞ element 2: Observation.category\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Average Diastolic Blood Pressure Code to Average Diastolic Blood Pressure Code\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Average Diastolic Blood Pressure Code' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 13: Observation.component:diastolic.valueQuantity\n",
+ "☞ ☞ ☞ element 3: Observation.category:survey\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Vital Sign Component Value to Vital Sign Component Value\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Vital Sign Component Value' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 14: Observation.component:diastolic.valueQuantity.value\n",
+ "☞ ☞ ☞ element 4: Observation.category:screening-assessment\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Numerical value (with implicit precision) to Numerical value (with implicit precision)\n",
+ " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Numerical value (with implicit precision)' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.category)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.category)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 15: Observation.component:diastolic.valueQuantity.unit\n",
+ "☞ ☞ ☞ element 5: Observation.code\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Unit representation to Unit representation\n",
+ " 👀 modify (USCDI) Type of observation (code / type) to Type of observation (code / type)\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Unit representation' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.code)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.code)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Type of observation (code / type)' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 16: Observation.component:diastolic.valueQuantity.system\n",
+ "☞ ☞ ☞ element 6: Observation.subject\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) System that defines coded unit form to System that defines coded unit form\n",
+ " 👀 modify (USCDI) Who and/or what the observation is about to Who and/or what the observation is about\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'System that defines coded unit form' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.subject)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.subject)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who and/or what the observation is about' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 17: Observation.component:diastolic.valueQuantity.code\n",
+ "☞ ☞ ☞ element 7: Observation.effective[x]\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Coded form of the unit to Coded form of the unit\n",
+ " 👀 modify (USCDI) Clinically relevant time/time-period for observation to Clinically relevant time/time-period for observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Coded form of the unit' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.effective[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.effective[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Clinically relevant time/time-period for observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "❗❗❗ done with SD\n",
- "----------------------------------------\n",
- "\n",
- "\n",
- "***********/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input/resources-yaml-old/StructureDefinition-us-core-observation-lab.yml***********\n",
- "☞ ☞ ☞ Type = Observation\n",
- "☞ ☞ ☞ element 0: Observation.category:us-core\n",
+ "☞ ☞ ☞ element 8: Observation.performer\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Classification of type of observation to Classification of type of observation\n",
+ " 👀 modify (USCDI) Who is responsible for the observation to Who is responsible for the observation\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Classification of type of observation' the same as the base - None ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.performer)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.performer)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Who is responsible for the observation' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 1: Observation.code\n",
+ "☞ ☞ ☞ element 9: Observation.value[x]\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Laboratory Test Name to Laboratory Test Name\n",
+ " 👀 modify (USCDI) Actual result to Actual result\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Laboratory Test Name' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.value[x])? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.value[x])? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Actual result' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 2: Observation.value[x]\n",
+ "☞ ☞ ☞ element 10: Observation.dataAbsentReason\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Result Value to Result Value\n",
+ " 👀 modify (USCDI) Why the result is missing to Why the result is missing\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Result Value' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.dataAbsentReason)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.dataAbsentReason)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Why the result is missing' the same as the base - True ❗❗❗\n",
+ "❗❗❗remove short from the copy\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 3: Observation.interpretation\n",
+ "☞ ☞ ☞ element 11: Observation.hasMember\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Result interpretation to Result interpretation\n",
+ " 👀 modify (USCDI) Reference to panel members or multi-select responses or multi-select responses to Reference to panel members or multi-select responses or multi-select responses\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Result interpretation' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.hasMember)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.hasMember)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Reference to panel members or multi-select responses or multi-select responses' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
- "☞ ☞ ☞ element 4: Observation.specimen\n",
- "Exception: KeyError\n",
- "Exception message: 'extension'\n",
- "----------\n",
- "☞ ☞ ☞ element 5: Observation.referenceRange\n",
+ "☞ ☞ ☞ element 12: Observation.derivedFrom\n",
"❓ ❓ ❓ more than 1 extension? = False ❗❗❗\n",
"❗❗❗remove the extension element in the copy\n",
- " 👀 modify (USCDI) Result reference range to Result reference range\n",
+ " 👀 modify (USCDI) Related Observation(s) or other resource the observation is made from to Related Observation(s) or other resource the observation is made from\n",
"❗❗❗modify the short in the copy\n",
- "❓ ❓ ❓ Is the short 'Result reference range' the same as the base - False ❗❗❗\n",
+ "======/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package/StructureDefinition-Observation.json, Observation======\n",
+ "(element['id'] = Observation) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.identifier) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.basedOn) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.partOf) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.status) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.category) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.code) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.subject) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.focus) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.encounter) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.effective[x]) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.issued) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.performer) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.value[x]) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.dataAbsentReason) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.interpretation) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.note) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.bodySite) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.method) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.specimen) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.device) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.low) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.high) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.type) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.appliesTo) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.age) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.referenceRange.text) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.hasMember) == (element_path = Observation.derivedFrom)? False❗❗❗\n",
+ "(element['id'] = Observation.derivedFrom) == (element_path = Observation.derivedFrom)? True❗❗❗\n",
+ "❓ ❓ ❓ Is the short 'Related Observation(s) or other resource the observation is made from' the same as the base - False ❗❗❗\n",
"❗❗❗ done with element\n",
"----------\n",
"❗❗❗ done with SD\n",
@@ -889,23 +15428,49 @@
}
],
"source": [
- "def get_shorty(r_type, element_id, shorty):\n",
- " for sd_base in R4_path.glob(f'StructureDefinition*{r_type}.json'):\n",
+ "def get_shorty(r_type, element_path, shorty):\n",
+ " for sd_base in R4_path.glob(f'StructureDefinition*-{r_type}.json'):\n",
" try:\n",
" r_base = loads(sd_base.read_text())\n",
" except Exception as e:\n",
" print(\"Exception: {}\".format(type(e).__name__))\n",
" print(\"Exception message: {}\".format(e))\n",
- " # print(f\"======{sd_base}, {r_base['type']}======\")\n",
+ " print(f\"======{sd_base}, {r_base['type']}======\")\n",
+ " #fix choice types e.g.fix valueQuantity to value[x] and effectiveDateTime to effective[x]\n",
+ " element_path = sub(r\"value[A-Z].[^\\.]*\", \"value[x]\", element_path)\n",
+ " element_path = sub(r\"effective[A-Z].[^\\.]*\", \"effective[x]\", element_path)\n",
" for element in r_base['differential']['element']:\n",
- " if element['id'] == element_id:\n",
+ " print(f\"(element['id'] = {element['id']}) == (element_path = {element_path})? {element_path == element['id']}❗❗❗\")\n",
+ " if element['id'] == element_path:\n",
" if element['short'] == shorty:\n",
" return True\n",
" else:\n",
- " return False \n",
+ " return False\n",
+ " print(f'❗❗❗element not found in base SD - look at the datatype in the path {element_path}')\n",
+ " #use the penultimate element in element_path to find the datatype in the base SD\n",
+ " parent_element_path = element_path.rsplit('.', 1)[0]\n",
+ " #use the last two element in element_path to find the datatype element in the base SD\n",
+ " datatype_element_path = element_path.split('.', )[-1]\n",
+ "\n",
+ " print(f\"parent_element_path = {parent_element_path} datatype_element_path = {datatype_element_path}\")\n",
+ "\n",
+ " #get the datatype\n",
+ " for element in r_base['differential']['element']:\n",
+ " if element['id'] == parent_element_path:\n",
+ " for type in element['type']:\n",
+ " print(f\"datatype = {type['code']}\")\n",
+ " #get the datatype SD short and compare to the shorty\n",
+ " path = f\"{type['code']}.{datatype_element_path}\"\n",
+ " print(f\"type = {type['code']}, path = {path}, shorty = {shorty}\")\n",
+ " if get_shorty(type['code'], (f\"{type['code']}.{datatype_element_path}\"), shorty):\n",
+ " return True # !!!doesn't not account for if element not found in datatype!!!\n",
+ "\n",
+ " \n",
"\n",
"\n",
"\n",
+ " \n",
+ "\n",
"#todo make a deepcopy and modify that copy instead of the original\n",
"\n",
"for sd in in_path.glob('StructureDefinition*.yml'):\n",
@@ -937,7 +15502,7 @@
" r_copy['differential']['element'][i]['short'] = modified_short\n",
" r_copy['date'] = today\n",
" # compare short to the R4 fhir element\n",
- " shorty = get_shorty(r['type'],element['id'],modified_short)\n",
+ " shorty = get_shorty(r['type'], element['path'], modified_short)\n",
" print(f\"\\U00002753 \\U00002753 \\U00002753 Is the short '{modified_short}' the same as the base - {shorty} ❗❗❗\")\n",
" if shorty: \n",
" print('❗❗❗remove short from the copy')\n",
@@ -948,23 +15513,20 @@
" print('-'*10)\n",
"\n",
" except Exception as e:\n",
- " print(\"Exception: {}\".format(type(e).__name__))\n",
- " print(\"Exception message: {}\".format(e))\n",
+ " print(f\"Exception: {repr(e)}\")\n",
+ " print(\"❗❗❗ if exception is KeyError('extension') then no extension on element\")\n",
" print('-'*10)\n",
" print('❗❗❗ done with SD')\n",
" print('-'*40)\n",
" print('\\n')\n",
- " # save the copy to out_path using Pathlib\n",
- " copyfile = out_path / sd.name\n",
- " copyfile.write_text(ydump(r_copy, sort_keys=False, indent=2))\n"
+ "\n",
+ " # custom sort the keys in the elements using fhir.resources\n",
+ " r_copy = StructureDefinition.parse_obj(r_copy)\n",
+ "\n",
+ " # save the copy to resources-yaml using Pathlib\n",
+ " copyfile = in_path / sd.name\n",
+ " copyfile.write_text(r_copy.yaml(indent=2))\n"
]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": []
}
],
"metadata": {
diff --git a/sushi-config.yaml b/sushi-config.yaml
index 8f1fb055..68ec74a0 100644
--- a/sushi-config.yaml
+++ b/sushi-config.yaml
@@ -148,6 +148,11 @@ pages:
# background.md:
# # specification.md:
# # exchanging-clinical-data.md:
+ future.md:
+ title: Futures Page Mock UP
+ fhir-write.md:
+ title: FHIR Write Guidance for Vital Sign Observations
+
guidance.md:
title: Guidance
@@ -210,6 +215,7 @@ releaseLabel: CI Build
menu:
IG Home: index.html
General Guidance: guidance.html
+ Future: future.html
Screening and Assessments: screening-and-assessments.html
#Table of Contents: toc.html
Artifact Index: artifacts.html