From 1c9f60579189a1e8a50ecc1b8763235f344ebf6d Mon Sep 17 00:00:00 2001 From: John DAmore Date: Wed, 10 Jul 2024 11:38:51 -0400 Subject: [PATCH] FHIR-44847 changing out the allergy abatement extension --- input/fsh/aliases.fsh | 1 + input/fsh/extensions/AbatementDateTimeUvIps.fsh | 14 -------------- .../allergyIntolerance-with-abatement.fsh | 2 +- input/fsh/profiles/AllergyIntoleranceUvIps.fsh | 4 +--- 4 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 input/fsh/extensions/AbatementDateTimeUvIps.fsh diff --git a/input/fsh/aliases.fsh b/input/fsh/aliases.fsh index f74fd47f..3384b708 100644 --- a/input/fsh/aliases.fsh +++ b/input/fsh/aliases.fsh @@ -3,6 +3,7 @@ Alias: $v3-RoleCode = http://terminology.hl7.org/CodeSystem/v3-RoleCode Alias: $DCM = http://dicom.nema.org/resources/ontology/DCM Alias: $allergyintolerance-clinical = http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical Alias: $allergyintolerance-verification = http://terminology.hl7.org/CodeSystem/allergyintolerance-verification +Alias: $allergyintolerance-abatement = http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement Alias: $sct = http://snomed.info/sct Alias: $rxnorm = http://www.nlm.nih.gov/research/umls/rxnorm Alias: $atc = http://www.whocc.no/atc diff --git a/input/fsh/extensions/AbatementDateTimeUvIps.fsh b/input/fsh/extensions/AbatementDateTimeUvIps.fsh deleted file mode 100644 index 8065ec58..00000000 --- a/input/fsh/extensions/AbatementDateTimeUvIps.fsh +++ /dev/null @@ -1,14 +0,0 @@ -Extension: AbatementDateTimeUvIps -Id: abatement-dateTime-uv-ips -Title: "Allergy abatement date" -Description: "Extension defined by the IPS project to describe the abatement date for allergies" -Context: AllergyIntolerance -* ^version = "1.1.0" -* ^date = "2024-06-19T10:50:07-05:00" -* ^publisher = "HL7 International / Patient Care" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare" -* ^jurisdiction = $m49.htm#001 -* url MS -* valueDateTime only dateTime -* valueDateTime MS \ No newline at end of file diff --git a/input/fsh/instances/allergyIntolerance-with-abatement.fsh b/input/fsh/instances/allergyIntolerance-with-abatement.fsh index 7a60f243..f7a3abba 100644 --- a/input/fsh/instances/allergyIntolerance-with-abatement.fsh +++ b/input/fsh/instances/allergyIntolerance-with-abatement.fsh @@ -3,7 +3,7 @@ InstanceOf: AllergyIntolerance Title: "AllergyIntolerance: resolved allergy" Description: "AllergyIntolerance: resolved allergy" Usage: #example -* extension.url = "http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips" +* extension.url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement" * extension.valueDateTime = "2010" * clinicalStatus = $allergyintolerance-clinical#resolved * verificationStatus = $allergyintolerance-verification#confirmed diff --git a/input/fsh/profiles/AllergyIntoleranceUvIps.fsh b/input/fsh/profiles/AllergyIntoleranceUvIps.fsh index 24981ffa..36f96770 100644 --- a/input/fsh/profiles/AllergyIntoleranceUvIps.fsh +++ b/input/fsh/profiles/AllergyIntoleranceUvIps.fsh @@ -13,9 +13,7 @@ It documents the relevant allergies or intolerances (conditions) for a patient, * ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare" * ^jurisdiction = $m49.htm#001 * ^purpose = "This profile constrains the representation of a record of an allergy or intolerance of the patient, in the context of the international patient summary as specified by the IPS project of HL7 International." -* extension contains AbatementDateTimeUvIps named abatement-datetime 0..1 -* extension[abatement-datetime] ^short = "Abatement datetime" -* extension[abatement-datetime] ^definition = "The date or estimated date that the condition resolved or went into remission." +* extension contains $allergyintolerance-abatement named abatement 0..1 * clinicalStatus only CodeableConceptIPS * verificationStatus only CodeableConceptIPS * verificationStatus ^comment = "In the scope of the IPS the entered-in-error concept is not allowed."