@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://hl7.cz/fhir/core/Medication/med-1> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "med-1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.cz/fhir/core/StructureDefinition/cz-Medication"^^xsd:anyURI ;
       fhir:l <https://hl7.cz/fhir/core/StructureDefinition/cz-Medication>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Medication med-1</b></p><a name=\"med-1\"> </a><a name=\"hcmed-1\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cz-Medication.html\">Medication (CZ core)</a></p></div><p><b>identifier</b>: <code>http://example.org/exampleSystem</code>/med-1</p><p><b>code</b>: <span title=\"Codes:{https://sukl.cz/terminology/CodeSystem/dlp-lecive-pripravky 0013831}, {https://sukl.cz/terminology/CodeSystem/dlp-atc C10AA01}\">Simvastatin 40 MG TBL FLM 20</span></p><p><b>form</b>: <span title=\"Codes:{https://sukl.cz/terminology/CodeSystem/dlp-formy TBL FLM}, {http://standardterms.edqm.eu 10219000}\">Potahovaná tableta</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{https://sukl.cz/terminology/CodeSystem/dlp-lecivelatky 10647}\">Simvastatin</span></td><td>40 mcg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 tablet<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/exampleSystem"^^xsd:anyURI ;
       fhir:l <http://example.org/exampleSystem>
     ] ;
     fhir:value [ fhir:v "med-1" ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://sukl.cz/terminology/CodeSystem/dlp-lecive-pripravky"^^xsd:anyURI ;
         fhir:l <https://sukl.cz/terminology/CodeSystem/dlp-lecive-pripravky>
       ] ;
       fhir:code [ fhir:v "0013831" ] ;
       fhir:display [ fhir:v "SIMVASTATIN RATIOPHARM 40MG TBL FLM 20" ]
     ] [
       fhir:system [
         fhir:v "https://sukl.cz/terminology/CodeSystem/dlp-atc"^^xsd:anyURI ;
         fhir:l <https://sukl.cz/terminology/CodeSystem/dlp-atc>
       ] ;
       fhir:code [ fhir:v "C10AA01" ] ;
       fhir:display [ fhir:v "simvastatin" ]
     ] ) ;
     fhir:text [ fhir:v "Simvastatin 40 MG TBL FLM 20" ]
  ] ; # 
  fhir:form [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://sukl.cz/terminology/CodeSystem/dlp-formy"^^xsd:anyURI ;
         fhir:l <https://sukl.cz/terminology/CodeSystem/dlp-formy>
       ] ;
       fhir:code [ fhir:v "TBL FLM" ] ;
       fhir:display [ fhir:v "Potahovaná tableta" ]
     ] [
       fhir:system [
         fhir:v "http://standardterms.edqm.eu"^^xsd:anyURI ;
         fhir:l <http://standardterms.edqm.eu>
       ] ;
       fhir:code [ fhir:v "10219000" ] ;
       fhir:display [ fhir:v "Tablet" ]
     ] )
  ] ; # 
  fhir:ingredient ( [
     fhir:item [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "https://sukl.cz/terminology/CodeSystem/dlp-lecivelatky"^^xsd:anyURI ;
           fhir:l <https://sukl.cz/terminology/CodeSystem/dlp-lecivelatky>
         ] ;
         fhir:code [ fhir:v "10647" ] ;
         fhir:display [ fhir:v "Simvastatin" ]
       ] )
     ] ;
     fhir:strength [
       fhir:numerator [
         fhir:value [ fhir:v "40"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mcg" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "mg" ]
       ] ;
       fhir:denominator [
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "tablet" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "1" ]
       ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

