@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/Task/Analyse-Intervention-Type3-Remplacement1pour2-INEGY> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Analyse-Intervention-Type3-Remplacement1pour2-INEGY"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-inpatient-pharmaceutical-analysis-result"^^xsd:anyURI ;
       fhir:l <https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-inpatient-pharmaceutical-analysis-result>
     ] )
  ] ; # 
  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>Narratif généré : Task Analyse-Intervention-Type3-Remplacement1pour2-INEGY</b></p><a name=\"Analyse-Intervention-Type3-Remplacement1pour2-INEGY\"> </a><a name=\"hcAnalyse-Intervention-Type3-Remplacement1pour2-INEGY\"> </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-analysis-result.html\">FR Pharmaceutical Analysis Result</a></p></div><p><b>groupIdentifier</b>: Presc-20260319151900</p><p><b>status</b>: Completed</p><p><b>intent</b>: proposal</p><p><b>authoredOn</b>: 2026-03-19 15:47:00+0100</p><p><b>performerType</b>: <span title=\"Codes :{https://mos.esante.gouv.fr/NOS/TRE_G15-ProfessionSante/FHIR/TRE-G15-ProfessionSante 21}\">Pharmacien</span></p><p><b>owner</b>: <a href=\"Practitioner/smart-Practitioner-27865023\">Practitioner/smart-Practitioner-27865023</a></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes :\">ligne de prescription analysée</span></p><p><b>value</b>: <a href=\"MedicationRequest-InLine-Analyse-Presc-SIMVASTATINE.html\">MedicationRequest : extension = 1 comprimé par jour; status = active; intent = order; priority = routine; medication[x] = SIMVASTATINE EVO 20MG CPR; authoredOn = 2026-03-19 15:19:00+0100; groupIdentifier = Presc-20260319151900; note = Prescription textuelle: SIMVASTATINE 20MG : 1 comprimé par jour​</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes :\">ligne de prescription analysée</span></p><p><b>value</b>: <a href=\"MedicationRequest-InLine-Analyse-Presc-EZETIMIBE.html\">MedicationRequest : extension = 1 comprimé par jour; status = active; intent = order; priority = routine; medication[x] = EZETIMIBE ARW 10MG CPR; authoredOn = 2026-03-19 15:19:00+0100; groupIdentifier = Presc-20260319151900; note = Prescription textuelle: EZETIMIBE 10MG : 1 comprimé par jour​</a></p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes :\">résultat de l'analyse</span></p><p><b>value</b>: INTERVENTION</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes :\">commentaire</span></p><p><b>value</b>: La SIMVASTATINE et l'EZEMITIBE ne sont pas référencées au livret thérapeutique. Proposition de substitution par INEGY</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes :\">type d'intervention</span></p><p><b>value</b>: <span title=\"Codes :\">Substitution/Echange</span></p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes :\">type de problème</span></p><p><b>value</b>: <span title=\"Codes :\">Non conformité aux référentiels / Contre-indication</span></p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes :\">proposition</span></p><p><b>value</b>: <a href=\"MedicationRequest-InLine-Analyse-Presc-INEGY.html\">MedicationRequest : extension = 1 comprimé par jour; status = active; intent = proposal; priority = routine; medication[x] = INEGY 10MG/20MG CPR; authoredOn = 2026-03-19 15:47:00+0100; groupIdentifier = Presc-20260319151900; note = Prescription textuelle: INEGY 10/20 : 1 comprimé par jour​</a></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:groupIdentifier [
     fhir:value [ fhir:v "Presc-20260319151900" ]
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:authoredOn [ fhir:v "2026-03-19T15:47:00+01:00"^^xsd:dateTime] ; # 
  fhir:performerType ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://mos.esante.gouv.fr/NOS/TRE_G15-ProfessionSante/FHIR/TRE-G15-ProfessionSante"^^xsd:anyURI ;
         fhir:l <https://mos.esante.gouv.fr/NOS/TRE_G15-ProfessionSante/FHIR/TRE-G15-ProfessionSante>
       ] ;
       fhir:code [ fhir:v "21" ] ;
       fhir:display [ fhir:v "Pharmacien" ]
     ] )
  ] ) ; # 
  fhir:owner [
     fhir:l <https://hl7.fr/ig/fhir/medication/Practitioner/smart-Practitioner-27865023> ;
     fhir:reference [ fhir:v "Practitioner/smart-Practitioner-27865023" ]
  ] ; # 
  fhir:input ( [
     fhir:type [
       fhir:text [ fhir:v "ligne de prescription analysée" ]
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://hl7.fr/ig/fhir/medication/MedicationRequest/InLine-Analyse-Presc-SIMVASTATINE> ;
       fhir:reference [ fhir:v "MedicationRequest/InLine-Analyse-Presc-SIMVASTATINE" ]
     ]
  ] [
     fhir:type [
       fhir:text [ fhir:v "ligne de prescription analysée" ]
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://hl7.fr/ig/fhir/medication/MedicationRequest/InLine-Analyse-Presc-EZETIMIBE> ;
       fhir:reference [ fhir:v "MedicationRequest/InLine-Analyse-Presc-EZETIMIBE" ]
     ]
  ] ) ; # 
  fhir:output ( [
     fhir:type [
       fhir:text [ fhir:v "résultat de l'analyse" ]
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "INTERVENTION"
     ]
  ] [
     fhir:type [
       fhir:text [ fhir:v "commentaire" ]
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "La SIMVASTATINE et l'EZEMITIBE ne sont pas référencées au livret thérapeutique. Proposition de substitution par INEGY"
     ]
  ] [
     fhir:type [
       fhir:text [ fhir:v "type d'intervention" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:code [ fhir:v "3" ] ;
         fhir:display [ fhir:v "Substitution/Echange" ]
       ] )
     ]
  ] [
     fhir:type [
       fhir:text [ fhir:v "type de problème" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:code [ fhir:v "1" ] ;
         fhir:display [ fhir:v "Non conformité aux référentiels / Contre-indication" ]
       ] )
     ]
  ] [
     fhir:type [
       fhir:text [ fhir:v "proposition" ]
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://hl7.fr/ig/fhir/medication/MedicationRequest/InLine-Analyse-Presc-INEGY> ;
       fhir:reference [ fhir:v "MedicationRequest/InLine-Analyse-Presc-INEGY" ]
     ]
  ] ) . # 

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

