@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.fr/ig/fhir/medication/MedicationDispense/Disp-group01-1> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Disp-group01-1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-inpatient-medication-dispense"^^xsd:anyURI ;
       fhir:l <https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-inpatient-medication-dispense>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Narratif généré : DispensationMédicaments Disp-group01-1</b></p><a name=\"Disp-group01-1\"> </a><a name=\"hcDisp-group01-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\">Profil: <a href=\"StructureDefinition-fr-inpatient-medication-dispense.html\">FR Inpatient MedicationDispense</a></p></div><p><b>Based on</b>: <a href=\"MedicationDispense-Disp-DOLIPRANE-Refill-presc-DC.html\">MedicationDispense : status = completed; medication[x] = -&gt;Medication/InLine-med-DOLIPRANE; type = Refill - Part; quantity = 6 1; daysSupply = 2 jour; whenPrepared = 2021-07-16 10:10:00+0000; whenHandedOver = 2021-07-16 10:24:00+0000</a></p><p><b>Based on</b>: <a href=\"MedicationDispense-Disp-DOLIPRANE-Refill-Compl-presc-DC.html\">MedicationDispense : status = completed; medication[x] = -&gt;Medication/InLine-med-DOLIPRANE; type = Refill - Complete; quantity = 2 1; daysSupply = 2 jours; whenPrepared = 2021-07-16 10:10:00+0000; whenHandedOver = 2021-07-16 10:24:00+0000</a></p><p><b>Based on</b>: <a href=\"MedicationDispense-Disp-DOLIPRANE-Refill-Substit.html\">MedicationDispense : status = completed; medication[x] = -&gt;Medication/InLine-med-DOLIPRANE; type = Refill - Part; quantity = 6 1; daysSupply = 2 jours; whenPrepared = 2021-07-16 10:10:00+0000; whenHandedOver = 2021-07-16 10:24:00+0000</a></p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Medication/InLine-med-DOLIPRANE\">Medication/InLine-med-DOLIPRANE</a></p><p><b>subject</b>: <a href=\"Group/InLine-patient-group01\">Group/InLine-patient-group01</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner/smart-Practitioner-7148xxxx\">Practitioner/smart-Practitioner-7148xxxx</a></td></tr></table><p><b>authorizingPrescription</b>: </p><ul><li><a href=\"MedicationRequest-InLine-presc-Paracetamol1.html\">MedicationRequest : status = active; intent = order; medication[x] = -&gt;Medication paracétamol; authoredOn = 2021-07-13 08:48:39+0000; groupIdentifier = Presc-24625</a></li><li><a href=\"MedicationRequest-InLine-presc-Paracetamol2.html\">MedicationRequest : status = active; intent = order; medication[x] = -&gt;Medication paracétamol; authoredOn = 2021-07-14 09:07:28+0000</a></li><li><a href=\"MedicationRequest-InLine-presc-EFFERALGAN2.html\">MedicationRequest : status = active; intent = order; medication[x] = -&gt;Medication EFFERALGANMED 1000MG CPR; authoredOn = 2021-07-15 11:02:39+0000</a></li></ul><p><b>type</b>: <span title=\"Codes :{http://terminology.hl7.org/CodeSystem/v3-ActCode RFP}\">Refill - Part</span></p><p><b>quantity</b>: 14 1<span style=\"background: LightGoldenRodYellow\"> (Détails : code UCUM1 = '1')</span></p><p><b>daysSupply</b>: 2 jours<span style=\"background: LightGoldenRodYellow\"> (Détails : code UCUMd = 'd')</span></p><p><b>whenPrepared</b>: 2021-07-16 10:10:00+0000</p><p><b>whenHandedOver</b>: 2021-07-16 10:24:00+0000</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/event-basedOn"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/event-basedOn>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://hl7.fr/ig/fhir/medication/MedicationDispense/Disp-DOLIPRANE-Refill-presc-DC> ;
       fhir:reference [ fhir:v "MedicationDispense/Disp-DOLIPRANE-Refill-presc-DC" ]
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/event-basedOn"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/event-basedOn>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://hl7.fr/ig/fhir/medication/MedicationDispense/Disp-DOLIPRANE-Refill-Compl-presc-DC> ;
       fhir:reference [ fhir:v "MedicationDispense/Disp-DOLIPRANE-Refill-Compl-presc-DC" ]
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/event-basedOn"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/event-basedOn>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://hl7.fr/ig/fhir/medication/MedicationDispense/Disp-DOLIPRANE-Refill-Substit> ;
       fhir:reference [ fhir:v "MedicationDispense/Disp-DOLIPRANE-Refill-Substit" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:l <https://hl7.fr/ig/fhir/medication/Medication/InLine-med-DOLIPRANE> ;
     fhir:reference [ fhir:v "Medication/InLine-med-DOLIPRANE" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://hl7.fr/ig/fhir/medication/Group/InLine-patient-group01> ;
     fhir:reference [ fhir:v "Group/InLine-patient-group01" ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:l <https://hl7.fr/ig/fhir/medication/Practitioner/smart-Practitioner-7148xxxx> ;
       fhir:reference [ fhir:v "Practitioner/smart-Practitioner-7148xxxx" ]
     ]
  ] ) ; # 
  fhir:authorizingPrescription ( [
     fhir:l <https://hl7.fr/ig/fhir/medication/MedicationRequest/InLine-presc-Paracetamol1> ;
     fhir:reference [ fhir:v "MedicationRequest/InLine-presc-Paracetamol1" ]
  ] [
     fhir:l <https://hl7.fr/ig/fhir/medication/MedicationRequest/InLine-presc-Paracetamol2> ;
     fhir:reference [ fhir:v "MedicationRequest/InLine-presc-Paracetamol2" ]
  ] [
     fhir:l <https://hl7.fr/ig/fhir/medication/MedicationRequest/InLine-presc-EFFERALGAN2> ;
     fhir:reference [ fhir:v "MedicationRequest/InLine-presc-EFFERALGAN2" ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ;
       fhir:code [ fhir:v "RFP" ] ;
       fhir:display [ fhir:v "Refill - Part" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "14"^^xsd:decimal ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "1" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "2"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "jours" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "d" ]
  ] ; # 
  fhir:whenPrepared [ fhir:v "2021-07-16T10:10:00Z"^^xsd:dateTime] ; # 
  fhir:whenHandedOver [ fhir:v "2021-07-16T10:24:00Z"^^xsd:dateTime] . # 

# -------------------------------------------------------------------------------------

