@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 -------------------------------------------------------------------

<https://sfaa.gov.tw/cra/RelatedPerson/cra-related-person-min> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "cra-related-person-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sfaa.gov.tw/cra/StructureDefinition/RelatedPerson-cra|0.0.1" ;
       fhir:index 0 ;
       fhir:link <https://sfaa.gov.tw/cra/StructureDefinition/RelatedPerson-cra|0.0.1>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>育兒津貼申請人一範例</b></h3><blockquote><p><b>識別碼型別</b>：National Person Identifier <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v2-0203\">Identifier Type Codes</a>#NNxxx）</span><br/><b>身分證字號（official）</b>：B223456789</p></blockquote><p><b>關係人編號</b>：CRA-RP-000001 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v2-0203\">Identifier Type Codes</a>#RI）</span></p><p><b>個案</b>：<a href=\"Patient-cra-pat-min.html\">Patient/cra-pat-min</a></p><p><b>與個案關係</b>：母親 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v3-RoleCode\">RoleCode</a>#MTH）</span></p><p><b>姓名</b>：王小美</p></div>"
  ] ;
  fhir:RelatedPerson.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "NNxxx" ]
       ]
     ] ;
     fhir:Identifier.value [ fhir:value "B223456789" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.use [ fhir:value "usual" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "RI" ]
       ]
     ] ;
     fhir:Identifier.value [ fhir:value "CRA-RP-000001" ]
  ] ;
  fhir:RelatedPerson.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:RelatedPerson.patient [
     fhir:link <https://sfaa.gov.tw/cra/Patient/cra-pat-min> ;
     fhir:Reference.reference [ fhir:value "Patient/cra-pat-min" ]
  ] ;
  fhir:RelatedPerson.relationship [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
       fhir:Coding.code [ fhir:value "MTH" ]
     ]
  ] ;
  fhir:RelatedPerson.name [
     fhir:index 0 ;
     fhir:HumanName.text [ fhir:value "王小美" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/cra/RelatedPerson/cra-related-person-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

