@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/MedicationRequest/InLine-Trad-PN13-FHIR-Analyse-Intervention-Substitution> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "InLine-Trad-PN13-FHIR-Analyse-Intervention-Substitution"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-inpatient-pharmaceutical-intervention-suggestion"^^xsd:anyURI ;
       fhir:l <https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-inpatient-pharmaceutical-intervention-suggestion>
     ] )
  ] ; # 
  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é : PrescriptionMédicamenteuseTODO InLine-Trad-PN13-FHIR-Analyse-Intervention-Substitution</b></p><a name=\"InLine-Trad-PN13-FHIR-Analyse-Intervention-Substitution\"> </a><a name=\"hcInLine-Trad-PN13-FHIR-Analyse-Intervention-Substitution\"> </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-pharmaceutical-intervention-suggestion.html\">FR Pharmaceutical Intervention Suggestion</a></p></div><p><b>R5: Full representation of the dosage instructions (new)</b>: </p><div><p>800 mg toutes les 12 heures pendant 2 jours, 2400 mg max/j</p>\n</div><p><b>identifier</b>: <code>https://somehospital.fr/PrescrptionLine-ID</code>/31639</p><p><b>status</b>: Active</p><p><b>intent</b>: Proposal</p><p><b>priority</b>: Routine</p><p><b>medication</b>: <span title=\"Codes :{http://data.esante.gouv.fr/ansm/medicament/codeSMS 100000090365}\">ibuprofène</span></p><p><b>subject</b>: <a href=\"Patient-InLine-patient-Avion.html\">AVION  (sexe non précisé), Date de Naissance :1961-11-25 ( Identifiant interne: 5000001820 (use: usual, ))</a></p><p><b>encounter</b>: Identifier: <code>https://somehospital.fr/Sejour</code>/70101274</p><p><b>supportingInformation</b>: </p><ul><li>Identifier: <code>https://somehospital.fr/UF</code>/2571</li><li><a href=\"Observation-InLine-Observation-poids-Avion.html\">Observation Poids corporel [Masse] Patient ; Numérique</a></li><li><a href=\"Observation-InLine-observation-taille-Avion.html\">Observation Taille du patient [Longueur] Patient ; Numérique</a></li><li><a href=\"MedicationRequest-InLine-Trad-PN13-FHIR-Analyse-Presc-Paracetamol.html\">MedicationRequest : extension = 1000 mg /prise,  4000 mg max/j,  respecter 6h entre 2 prises pendant 2 jours; identifier = https://somehospital.fr/PrescrptionLine-ID#31626; status = active; intent = order; priority = routine; medication[x] = paracétamol; authoredOn = 2022-04-11 16:42:53+0200; groupIdentifier = https://somehospital.fr/Prescrption-ID#10723; note = Prescription textuelle: PARACETAMOL (Voie orale) A la demande :  1000 mg /prise,  4000 mg max/j,  respecter 6h entre 2 prises pendant 2 jours,Indication: En cas de douleur</a></li><li><a href=\"Task-Analyse-Intervention-Substitution-Trad-PN13-FHIR.html\">Task : groupIdentifier = 10723; status = completed; intent = proposal; authoredOn = 2022-04-11 17:30:53+0200</a></li></ul><p><b>authoredOn</b>: 2022-04-11 17:30:53+0200</p><p><b>requester</b>: Identifier: <code>urn:oid:1.2.250.1.71.4.2.1</code>/811102058236</p><p><b>groupIdentifier</b>: <code>https://somehospital.fr/Prescrption-ID</code>/10723</p><p><b>note</b>: </p><blockquote><div><p>Prescription textuelle: Ibuprofène (Voie orale) : 800 mg toutes les 12 heures pendant 2 jours, 2400 mg max/j</p>\n</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Une fois par 12 hours</p><p><b>route</b>: <span title=\"Codes :{http://standardterms.edqm.eu 20053000}\">Voie orale</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>800 mg<span style=\"background: LightGoldenRodYellow\"> (Détails : code UCUMmg = 'mg')</span></td></tr></table><p><b>maxDosePerPeriod</b>: 2400 mg<span style=\"background: LightGoldenRodYellow\"> (Détails : code UCUMmg = 'mg')</span>/1 d<span style=\"background: LightGoldenRodYellow\"> (Détails : code UCUMd = 'd')</span></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction>
     ] ;
     fhir:value [
       a fhir:Markdown ;
       fhir:v "800 mg toutes les 12 heures pendant 2 jours, 2400 mg max/j"
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "https://somehospital.fr/PrescrptionLine-ID"^^xsd:anyURI ;
       fhir:l <https://somehospital.fr/PrescrptionLine-ID>
     ] ;
     fhir:value [ fhir:v "31639" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [
         fhir:v "http://data.esante.gouv.fr/ansm/medicament/codeSMS"^^xsd:anyURI ;
         fhir:l <http://data.esante.gouv.fr/ansm/medicament/codeSMS>
       ] ;
       fhir:code [ fhir:v "100000090365" ] ;
       fhir:display [ fhir:v "ibuprofène" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <https://hl7.fr/ig/fhir/medication/Patient/InLine-patient-Avion> ;
     fhir:reference [ fhir:v "Patient/InLine-patient-Avion" ]
  ] ; # 
  fhir:encounter [
     fhir:identifier [
       fhir:system [
         fhir:v "https://somehospital.fr/Sejour"^^xsd:anyURI ;
         fhir:l <https://somehospital.fr/Sejour>
       ] ;
       fhir:value [ fhir:v "70101274" ]
     ]
  ] ; # 
  fhir:supportingInformation ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-uf-role"^^xsd:anyURI ;
         fhir:l <https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-uf-role>
       ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "UFMED"
       ]
     ] ) ;
     fhir:identifier [
       fhir:system [
         fhir:v "https://somehospital.fr/UF"^^xsd:anyURI ;
         fhir:l <https://somehospital.fr/UF>
       ] ;
       fhir:value [ fhir:v "2571" ]
     ]
  ] [
     fhir:l <https://hl7.fr/ig/fhir/medication/Observation/InLine-Observation-poids-Avion> ;
     fhir:reference [ fhir:v "Observation/InLine-Observation-poids-Avion" ]
  ] [
     fhir:l <https://hl7.fr/ig/fhir/medication/Observation/InLine-observation-taille-Avion> ;
     fhir:reference [ fhir:v "Observation/InLine-observation-taille-Avion" ]
  ] [
     fhir:l <https://hl7.fr/ig/fhir/medication/MedicationRequest/InLine-Trad-PN13-FHIR-Analyse-Presc-Paracetamol> ;
     fhir:reference [ fhir:v "MedicationRequest/InLine-Trad-PN13-FHIR-Analyse-Presc-Paracetamol" ]
  ] [
     fhir:l <https://hl7.fr/ig/fhir/medication/Task/Analyse-Intervention-Substitution-Trad-PN13-FHIR> ;
     fhir:reference [ fhir:v "Task/Analyse-Intervention-Substitution-Trad-PN13-FHIR" ]
  ] ) ; # 
  fhir:authoredOn [ fhir:v "2022-04-11T17:30:53+02:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:identifier [
       fhir:system [
         fhir:v "urn:oid:1.2.250.1.71.4.2.1"^^xsd:anyURI ;
         fhir:l <urn:oid:1.2.250.1.71.4.2.1>
       ] ;
       fhir:value [ fhir:v "811102058236" ]
     ]
  ] ; # 
  fhir:groupIdentifier [
     fhir:system [
       fhir:v "https://somehospital.fr/Prescrption-ID"^^xsd:anyURI ;
       fhir:l <https://somehospital.fr/Prescrption-ID>
     ] ;
     fhir:value [ fhir:v "10723" ]
  ] ; # 
  fhir:note ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-medicationrequest-note-scope"^^xsd:anyURI ;
         fhir:l <https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-medicationrequest-note-scope>
       ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "LIPRESCTXT"
       ]
     ] ) ;
     fhir:text [ fhir:v "Prescription textuelle: Ibuprofène (Voie orale) : 800 mg toutes les 12 heures pendant 2 jours, 2400 mg max/j" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:timing [
       fhir:repeat [
         fhir:bounds [
           a fhir:Period ;
           fhir:start [ fhir:v "2022-04-12T06:00:00+02:00"^^xsd:dateTime ] ;
           fhir:end [ fhir:v "2022-04-15T00:00:00+02:00"^^xsd:dateTime ]
         ] ;
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "12"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "h" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://standardterms.edqm.eu"^^xsd:anyURI ;
           fhir:l <http://standardterms.edqm.eu>
         ] ;
         fhir:code [ fhir:v "20053000" ] ;
         fhir:display [ fhir:v "Voie orale" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "800"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mg" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "mg" ]
       ]
     ] ) ;
     fhir:maxDosePerPeriod [
       fhir:numerator [
         fhir:value [ fhir:v "2400"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mg" ] ;
         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:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "d" ]
       ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

