@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://aphp.github.io/IG-fhir-dm/Patient/cas-9> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "cas-9"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://aphp.github.io/IG-fhir-dm/StructureDefinition/DMPatient"^^xsd:anyURI ;
       fhir:l <https://aphp.github.io/IG-fhir-dm/StructureDefinition/DMPatient>
     ] )
  ] ; # 
  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é : Patient cas-9</b></p><a name=\"cas-9\"> </a><a name=\"hccas-9\"> </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-DMPatient.html\">Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Isabelle Blanc  Female, Date de Naissance :1978-05-06 ( National Health Plan Identifier)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Autre identifiant (voir ci-dessus)\">Autre identifiant :</td><td colspan=\"3\">Patient internal identifier/9</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Moyens de contacter le Patient\">Coordonnées</td><td colspan=\"3\"></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.\"><a href=\"http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-patient-birthPlace.html\">Patient Birth Place</a></td><td colspan=\"3\">64 </td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/patient-birthPlace>
     ] ;
     fhir:value [
       a fhir:Address ;
       fhir:postalCode [ fhir:v "64" ]
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "NH" ]
       ] )
     ] ;
     fhir:value [ fhir:v "278056432187654" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "PI" ] ;
         fhir:display [ fhir:v "Patient internal identifier" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "https://test.fr/patientId"^^xsd:anyURI ;
       fhir:l <https://test.fr/patientId>
     ] ;
     fhir:value [ fhir:v "9" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:family [ fhir:v "Blanc" ] ;
     fhir:given ( [ fhir:v "Isabelle" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1978-05-06"^^xsd:date] ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:extension ( [
         fhir:url [
           fhir:v "latitude"^^xsd:anyURI ;
           fhir:l fhir:latitude
         ] ;
         fhir:value [
           a fhir:Decimal ;
           fhir:v 48.8499
         ]
       ] [
         fhir:url [
           fhir:v "longitude"^^xsd:anyURI ;
           fhir:l fhir:longitude
         ] ;
         fhir:value [
           a fhir:Decimal ;
           fhir:v 2.2943
         ]
       ] ) ;
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/geolocation"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/geolocation>
       ]
     ] [
       fhir:url [
         fhir:v "https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/PmsiCodeGeo"^^xsd:anyURI ;
         fhir:l <https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/PmsiCodeGeo>
       ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "75015"
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

