openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build

openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

: AspirinMedication - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Medication;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "AspirinMedication"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-medication";
       fhir:index 0;
       fhir:link <https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-medication>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"AspirinMedication\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-openimis-medication.html\">openIMIS Medication</a></p></div><p><b>Unit Price (Medication|ActivityDefinition)</b>: <span title=\"Euro\">€10.00</span> (EUR)</p><p><b>Medication Type (Medication)</b>: Drug <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-medication-item-type.html\">Item Type (Medication)</a>#D)</span></p><p><b>Frequency (Medication)</b>: Do Once per 0 days</p><blockquote><p><b>UsageContext (Medication)</b></p><p><b>value</b>: </p></blockquote><p><b style=\"color: maroon\">Exception generating Narrative: type org.hl7.fhir.r5.model.UsageContext not handled - should not be here</b></p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price" ];
     fhir:Extension.valueMoney [
       fhir:Money.value [ fhir:value "10"^^xsd:decimal ];
       fhir:Money.currency [ fhir:value "EUR" ]     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/medication-type" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/medication-item-type" ];
         fhir:Coding.code [ fhir:value "D" ];
         fhir:Coding.display [ fhir:value "Drug" ]       ]     ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/medication-frequency" ];
     fhir:Extension.valueTiming [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ];
         fhir:Timing.repeat.period [ fhir:value "0"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]       ]     ]
  ], [
     fhir:index 3;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "Gender" ];
       fhir:Extension.valueUsageContext [
         fhir:UsageContext.code [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
           fhir:Coding.code [ fhir:value "gender" ];
           fhir:Coding.display [ fhir:value "Gender" ]         ];
         fhir:UsageContext.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/administrative-gender" ];
             fhir:Coding.code [ fhir:value "male" ];
             fhir:Coding.display [ fhir:value "Male" ]           ], [
             fhir:index 1;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/administrative-gender" ];
             fhir:Coding.code [ fhir:value "female" ];
             fhir:Coding.display [ fhir:value "Female" ]           ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "CareType" ];
       fhir:Extension.valueUsageContext [
         fhir:UsageContext.code [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
           fhir:Coding.code [ fhir:value "venue" ];
           fhir:Coding.display [ fhir:value "Clinical Venue" ]         ];
         fhir:UsageContext.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
             fhir:Coding.code [ fhir:value "AMB" ];
             fhir:Coding.display [ fhir:value "ambulatory" ]           ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "Age" ];
       fhir:Extension.valueUsageContext [
         fhir:UsageContext.code [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
           fhir:Coding.code [ fhir:value "age" ];
           fhir:Coding.display [ fhir:value "Age" ]         ];
         fhir:UsageContext.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/usage-context-age-type" ];
             fhir:Coding.code [ fhir:value "adult" ];
             fhir:Coding.display [ fhir:value "Adult" ]           ], [
             fhir:index 1;
             fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/usage-context-age-type" ];
             fhir:Coding.code [ fhir:value "child" ];
             fhir:Coding.display [ fhir:value "Child" ]           ]         ]       ]     ];
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/medication-usage-context" ]
  ];
  fhir:Medication.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/openimis-identifiers" ];
         fhir:Coding.code [ fhir:value "Code" ]       ]     ];
     fhir:Identifier.value [ fhir:value "0001" ]
  ], [
     fhir:index 1;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/openimis-identifiers" ];
         fhir:Coding.code [ fhir:value "UUID" ]       ]     ];
     fhir:Identifier.value [ fhir:value "71EFB78B-64EE-4A68-BE29-87DAF566EB20" ]
  ];
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:7947003;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "7947003" ]     ];
     fhir:CodeableConcept.text [ fhir:value "ACETYLSALICYLIC ACID (ASPIRIN) TABS 300MG" ]
  ];
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:385055001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "385055001" ];
       fhir:Coding.display [ fhir:value "Tablet" ]     ]
  ];
  fhir:Medication.amount [
     fhir:Ratio.numerator [
       fhir:Quantity.value [ fhir:value "1000"^^xsd:decimal ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.