From be244f37b9113c97afe6f5eb707f195a5c3c3a9e Mon Sep 17 00:00:00 2001 From: Walter Wellauer Date: Tue, 15 Jun 2021 17:10:51 +0200 Subject: [PATCH] Extension definitions added in IG --- input/fsh/extensions.fsh | 147 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 145 insertions(+), 2 deletions(-) diff --git a/input/fsh/extensions.fsh b/input/fsh/extensions.fsh index fd25ce1..6bca3d7 100644 --- a/input/fsh/extensions.fsh +++ b/input/fsh/extensions.fsh @@ -17,7 +17,7 @@ Description: "Extension defined by the IPS project to describe the abatement dat Extension: AllergyIntoleranceCertainty Id: allergyintolerance-certainty -Title: "certainty" +Title: "Allergy Intolerance certainty" Description: "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event." * ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" * ^extension[=].valueCode = #pc @@ -48,4 +48,147 @@ Id: rim Title: "RIM Mapping" Source: AllergyIntoleranceCertainty Target: "http://hl7.org/v3" -* -> "uncertaintyCode" \ No newline at end of file +* -> "uncertaintyCode" + +Extension: AllergyIntoleranceDuration +Id: allergyintolerance-duration +Title: "Allergy Intolerance duration" +Description: "The amount of time that the Adverse Reaction persisted." +* ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" +* ^extension[=].valueCode = #pc +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" +* ^extension[=].valueInteger = 1 +* ^url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" +* ^status = #draft +* ^date = "2015-02-21" +* ^publisher = "Health Level Seven, Inc. - FHIR WG" +* ^contact.telecom.system = #url +* ^contact.telecom.value = "HL7" +* ^context.type = #element +* ^context.expression = "AllergyIntolerance.reaction" +* . 0..1 +* . ^short = "How long Manifestations persisted" +* . ^definition = "The amount of time that the Adverse Reaction persisted." +* url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" (exactly) +* value[x] 1.. +* value[x] only Duration + +Extension: AllergyIntoleranceLocation +Id: openEHR-location +Title: "openEHR location" +Description: "The anatomical location / body site(s) where the symptoms manifested." +* ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" +* ^extension[=].valueCode = #pc +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" +* ^extension[=].valueInteger = 1 +* ^url = "http://hl7.org/fhir/StructureDefinition/openEHR-location" +* ^status = #draft +* ^date = "2014-10-09" +* ^publisher = "Health Level Seven, Inc / openEHR project" +* ^contact.telecom.system = #url +* ^contact.telecom.value = "http://hl7.org" +* ^context.type = #element +* ^context.expression = "AllergyIntolerance.reaction" +* . 0..* +* . ^short = "Body site of manifestations" +* . ^definition = "The anatomical location / body site(s) where the symptoms manifested." +* url = "http://hl7.org/fhir/StructureDefinition/openEHR-location" (exactly) +* value[x] 1.. +* value[x] only CodeableConcept +* value[x] from SNOMEDCTBodyStructures (extensible) +* value[x] ^binding.extension.url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" +* value[x] ^binding.extension.valueString = "BodySite" +* value[x] ^binding.description = "Codes describing anatomical locations. May include laterality." + +Extension: AllergyIntoleranceExposureDate +Id: openEHR-exposureDate +Title: "openEHR exposureDate" +Description: "Record of the date and/or time of the first exposure to the Substance for this Reaction Event." +* ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" +* ^extension[=].valueCode = #pc +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" +* ^extension[=].valueInteger = 1 +* ^url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate" +* ^status = #draft +* ^date = "2014-10-09" +* ^publisher = "Health Level Seven, Inc / openEHR project" +* ^contact.telecom.system = #url +* ^contact.telecom.value = "http://hl7.org" +* ^context.type = #element +* ^context.expression = "AllergyIntolerance.reaction" +* . 0..1 +* . ^short = "Date(/time) of first exposure to Substance" +* . ^definition = "Record of the date and/or time of the first exposure to the Substance for this Reaction Event." +* . ^comment = "Exposure can be more complicated by more than one exposure events leading to a reaction. Further details about the nature of the exposure can be provided in additional extensions, or as text in the Exposure Description extension." +* url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate" (exactly) +* value[x] 1.. +* value[x] only dateTime + +Extension: AllergyIntoleranceExposureDuration +Id: openEHR-exposureDuration +Title: "openEHR exposureDuration" +Description: "The amount of time the individual was exposed to the Substance." +* ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" +* ^extension[=].valueCode = #pc +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" +* ^extension[=].valueInteger = 1 +* ^url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration" +* ^status = #draft +* ^date = "2014-10-09" +* ^publisher = "Health Level Seven, Inc / openEHR project" +* ^contact.telecom.system = #url +* ^contact.telecom.value = "http://hl7.org" +* ^context.type = #element +* ^context.expression = "AllergyIntolerance.reaction" +* . 0..1 +* . ^short = "Amount of time individual was exposed to Substance" +* . ^definition = "The amount of time the individual was exposed to the Substance." +* url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration" (exactly) +* value[x] 1.. +* value[x] only Duration + +Extension: AllergyIntoleranceExposureDescription +Id: openEHR-exposureDescription +Title: "openEHR exposureDescription" +Description: "Text description about exposure to the Substance." +* ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" +* ^extension[=].valueCode = #pc +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" +* ^extension[=].valueInteger = 1 +* ^url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription" +* ^status = #draft +* ^date = "2014-10-09" +* ^publisher = "Health Level Seven, Inc / openEHR project" +* ^contact.telecom.system = #url +* ^contact.telecom.value = "http://hl7.org" +* ^context.type = #element +* ^context.expression = "AllergyIntolerance.reaction" +* . 0..1 +* . ^short = "Text description about exposure to the Substance" +* . ^definition = "Text description about exposure to the Substance." +* url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription" (exactly) +* value[x] 1.. +* value[x] only string + +Extension: AllergyIntoleranceManagement +Id: openEHR-management +Title: "openEHR management" +Description: "Text description about the clinical management provided." +* ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" +* ^extension[=].valueCode = #pc +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" +* ^extension[=].valueInteger = 1 +* ^url = "http://hl7.org/fhir/StructureDefinition/openEHR-management" +* ^status = #draft +* ^date = "2014-10-09" +* ^publisher = "Health Level Seven, Inc / openEHR project" +* ^contact.telecom.system = #url +* ^contact.telecom.value = "http://hl7.org" +* ^context.type = #element +* ^context.expression = "AllergyIntolerance.reaction" +* . 0..1 +* . ^short = "Clinical Management Description" +* . ^definition = "Text description about the clinical management provided." +* url = "http://hl7.org/fhir/StructureDefinition/openEHR-management" (exactly) +* value[x] 1.. +* value[x] only string \ No newline at end of file