@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://resmed.com/fhir/core/Patient/ins-patient-national-individual-registration-number> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ins-patient-national-individual-registration-number"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://resmed.com/fhir/core/StructureDefinition/ins-patient"^^xsd:anyURI ;
       fhir:link <http://resmed.com/fhir/core/StructureDefinition/ins-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Édith Piaf </b> female, DoB: 1915-12-19 ( NIR définitif: 269054958815780)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Id:</td><td colspan=\"3\">EasyCare Number: <a href=\"http://terminology.hl7.org/5.0.0/NamingSystem-uri.html\">#</a>urn:uuid:64fef033-e227-45af-b747-925e6c71726b (use: USUAL)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Alternate names (see the one above)\">Alt. Name:</td><td colspan=\"3\">Édith Giovanna Gassion (OFFICIAL)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This is a ResMed variant of a HL7 France Core package resource.\nReliability of the patient's identity | Précision sur le degré de fiabilité de l'identité du patient.\">ResMed FrPatientIdentReliability:</td><td colspan=\"3\"><ul><li>identityReliability: <a href=\"CodeSystem-CodeSystem-Fiabilite-Identite-IS.html#CodeSystem-Fiabilite-Identite-IS-VALI\">ResMed French Identity reliability</a> VALI: Identité validée</li><li>validationDate: 2020-04-22</li><li>validationMode: <a href=\"CodeSystem-fr-cs-mode-validation-identite.html#fr-cs-mode-validation-identite-CN\">ResMed Fr_cs_mode_validation_identite</a> CN: Carte nationale d'identité</li></ul></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/R4/extension-patient-birthplace.html\">Birth Place:</a></td><td colspan=\"3\"><ul><li></li></ul></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Address ;
       fhir:district [ fhir:v "75056" ]
     ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "identityReliability"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "http://interopsante.org/fhir/CodeSystem/fr-v2-0445"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "VALI" ]
       ]
     ] [
       fhir:url [ fhir:v "validationDate"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "2020-04-22"^^xsd:date ]
     ] [
       fhir:url [ fhir:v "validationMode"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "http://interopsante.org/fhir/CodeSystem/fr-cs-mode-validation-identite"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "CN" ]
       ]
     ] ) ;
     fhir:url [ fhir:v "http://interopsante.org/fhir/StructureDefinition/FrPatientIdentReliability"^^xsd:anyURI ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.resmed.com/CodeSystem/resmed-user-identifier"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "ECN" ]
       ] )
     ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:uuid:64fef033-e227-45af-b747-925e6c71726b" ] ;
     fhir:assigner [
       fhir:display [ fhir:v "ResMed Corp." ]
     ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://interopsante.org/fhir/CodeSystem/fr-v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "INS-NIR" ] ;
         fhir:display [ fhir:v "NIR définitif" ]
       ] )
     ] ;
     fhir:value [ fhir:v "269054958815780" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Gassion" ] ;
     fhir:given ( [ fhir:v "Édith Giovanna" ] )
  ] [
     fhir:use [ fhir:v "usual" ] ;
     fhir:family [ fhir:v "Piaf" ] ;
     fhir:given ( [ fhir:v "Édith" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1915-12-19"^^xsd:date] . # 

# -------------------------------------------------------------------------------------

