Skip to content

Commit

Permalink
Extension definitions added in IG
Browse files Browse the repository at this point in the history
  • Loading branch information
walterwellauer committed Jun 15, 2021
1 parent 306f728 commit be244f3
Showing 1 changed file with 145 additions and 2 deletions.
147 changes: 145 additions & 2 deletions input/fsh/extensions.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -48,4 +48,147 @@ Id: rim
Title: "RIM Mapping"
Source: AllergyIntoleranceCertainty
Target: "http://hl7.org/v3"
* -> "uncertaintyCode"
* -> "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

0 comments on commit be244f3

Please sign in to comment.