@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 -------------------------------------------------------------------

<http://fhir.ehdsi.eu/eps/Medication/1234567890> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "1234567890"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.ehdsi.eu/eps/StructureDefinition/medication-eps-myhealtheu"^^xsd:anyURI ;
       fhir:l <http://fhir.ehdsi.eu/eps/StructureDefinition/medication-eps-myhealtheu>
     ] )
  ] ; # 
  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 1234567890</b></p><a name=\"1234567890\"> </a><a name=\"hc1234567890\"> </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-medication-eps-myhealtheu.html\">Medication: EPS</a></p></div><p><b>code</b>: <span title=\"Codes:{http://www.whocc.no/atc C10AA01}\">Simvastatin 40 MG Disintegrating Oral Tablet</span></p><p><b>form</b>: <span title=\"Codes:{http://standardterms.edqm.eu 10219000}\">Tablet</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://spor.ema.europa.eu/v2/SubstanceDefinition 100000156650}\">SIMVASTATIN, SODIUM SALT</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:code [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://www.whocc.no/atc"^^xsd:anyURI ;
         fhir:l <http://www.whocc.no/atc>
       ] ;
       fhir:code [ fhir:v "C10AA01" ] ;
       fhir:display [ fhir:v "simvastatin" ]
     ] ) ;
     fhir:text [ fhir:v "Simvastatin 40 MG Disintegrating Oral Tablet" ]
  ] ; # 
  fhir:form [
     fhir:coding ( [
       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://spor.ema.europa.eu/v2/SubstanceDefinition"^^xsd:anyURI ;
           fhir:l <https://spor.ema.europa.eu/v2/SubstanceDefinition>
         ] ;
         fhir:code [ fhir:v "100000156650" ] ;
         fhir:display [ fhir:v "SIMVASTATIN, SODIUM SALT" ]
       ] )
     ] ;
     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" ]
       ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

