@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 -------------------------------------------------------------------

<http://hlth.gov.bc.ca/fhir/client/Parameters/Merge-Request> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Merge-Request"] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "target-patient" ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hlth.gov.bc.ca/fhir/client/Patient/5d7aef4c-8df8-4b3b-9fb9-56684973057d> ;
       fhir:reference [ fhir:v "Patient/5d7aef4c-8df8-4b3b-9fb9-56684973057d" ] ;
       fhir:identifier [
         fhir:use [ fhir:v "official" ] ;
         fhir:system [
           fhir:v "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-exp-source-patient-id"^^xsd:anyURI ;
           fhir:l <https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-exp-source-patient-id>
         ] ;
         fhir:value [ fhir:v "U6UQG3285Z5NG23110E2" ]
       ]
     ]
  ] [
     fhir:name [ fhir:v "source-patient" ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hlth.gov.bc.ca/fhir/client/Patient/9b56c75b-92be-427c-ab3f-53554bf3339a> ;
       fhir:reference [ fhir:v "Patient/9b56c75b-92be-427c-ab3f-53554bf3339a" ] ;
       fhir:identifier [
         fhir:use [ fhir:v "official" ] ;
         fhir:system [
           fhir:v "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-exp-source-patient-id"^^xsd:anyURI ;
           fhir:l <https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-exp-source-patient-id>
         ] ;
         fhir:value [ fhir:v "YR4E0OMAP2364ZX58222" ]
       ]
     ]
  ] [
     fhir:name [ fhir:v "source-patient-identifier" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:use [ fhir:v "official" ] ;
       fhir:system [
         fhir:v "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-exp-source-patient-id"^^xsd:anyURI ;
         fhir:l <https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-exp-source-patient-id>
       ] ;
       fhir:value [ fhir:v "9ICFAEF1A716U78HKR51" ]
     ]
  ] [
     fhir:name [ fhir:v "source-patient-identifier" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:use [ fhir:v "official" ] ;
       fhir:system [
         fhir:v "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-exp-source-patient-id"^^xsd:anyURI ;
         fhir:l <https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-exp-source-patient-id>
       ] ;
       fhir:value [ fhir:v "K11S731WJ155LE60Y9OR" ]
     ]
  ] [
     fhir:name [ fhir:v "target-patient-identifier" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:use [ fhir:v "official" ] ;
       fhir:system [
         fhir:v "https://fhir.infoway-inforoute.ca/NamingSystem/ca-mb-patient-healthcare-id"^^xsd:anyURI ;
         fhir:l <https://fhir.infoway-inforoute.ca/NamingSystem/ca-mb-patient-healthcare-id>
       ] ;
       fhir:value [ fhir:v "L79SQH68T1I4E829PW57" ]
     ]
  ] [
     fhir:name [ fhir:v "target-patient-identifier" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:use [ fhir:v "secondary" ] ;
       fhir:system [
         fhir:v "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-arh-source-patient-id"^^xsd:anyURI ;
         fhir:l <https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-arh-source-patient-id>
       ] ;
       fhir:value [ fhir:v "4MR5R6RH6W01128QG22O" ]
     ]
  ] [
     fhir:name [ fhir:v "source-patient-identifier" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:use [ fhir:v "secondary" ] ;
       fhir:system [
         fhir:v "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-bh-source-patient-id"^^xsd:anyURI ;
         fhir:l <https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-bh-source-patient-id>
       ] ;
       fhir:value [ fhir:v "9UPCEFV7B98S20CCA6S4" ]
     ]
  ] [
     fhir:name [ fhir:v "source-patient-identifier" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-status-extension"^^xsd:anyURI ;
           fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-status-extension>
         ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "cancelled"
         ]
       ] ) ;
       fhir:use [ fhir:v "secondary" ] ;
       fhir:system [
         fhir:v "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-cac-source-patient-id"^^xsd:anyURI ;
         fhir:l <https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-fha-cac-source-patient-id>
       ] ;
       fhir:value [ fhir:v "MEJK6DNU0O4PO9X460FU" ]
     ]
  ] [
     fhir:name [ fhir:v "result-patient" ] ;
     fhir:Parameters.parameter.resource ( [
       a fhir:Patient ;
       fhir:id [ fhir:v "5d7aef4c-8df8-4b3b-9fb9-56684973057d" ] ;
       fhir:meta [
         fhir:profile ( [
           fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-patient"^^xsd:anyURI ;
           fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-patient>
         ] )
       ] ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension"^^xsd:anyURI ;
           fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension>
         ] ;
         fhir:value [
           a fhir:Period ;
           fhir:start [ fhir:v "2025-01-16T12:54:54.7488769-08:00"^^xsd:dateTime ]
         ]
       ] ) ;
       fhir:name ( [
         fhir:use [ fhir:v "usual" ] ;
         fhir:family [ fhir:v "Ogden" ] ;
         fhir:given ( [ fhir:v "Donnchadh" ] [ fhir:v "Xarles" ] [ fhir:v "Careen" ] )
       ] [
         fhir:use [ fhir:v "nickname" ] ;
         fhir:given ( [ fhir:v "Bartholomaus" ] )
       ] ) ;
       fhir:telecom ( [
         fhir:system [ fhir:v "phone" ] ;
         fhir:value [ fhir:v "3013554636" ] ;
         fhir:use [ fhir:v "mobile" ]
       ] [
         fhir:system [ fhir:v "phone" ] ;
         fhir:value [ fhir:v "3515401811" ] ;
         fhir:use [ fhir:v "home" ]
       ] [
         fhir:system [ fhir:v "phone" ] ;
         fhir:value [ fhir:v "5044019252" ] ;
         fhir:use [ fhir:v "work" ]
       ] [
         fhir:system [ fhir:v "email" ] ;
         fhir:value [ fhir:v "Adamma.Pennigton@cgi.com" ] ;
         fhir:use [ fhir:v "mobile" ]
       ] [
         fhir:system [ fhir:v "email" ] ;
         fhir:value [ fhir:v "Bernot.Arne@cgi.com" ] ;
         fhir:use [ fhir:v "home" ]
       ] [
         fhir:system [ fhir:v "email" ] ;
         fhir:value [ fhir:v "Wallace.Rentar@cgi.com" ] ;
         fhir:use [ fhir:v "work" ]
       ] ) ;
       fhir:gender [ fhir:v "male" ] ;
       fhir:birthDate [ fhir:v "1978-03-14"^^xsd:date ] ;
       fhir:address ( [
         fhir:type [ fhir:v "physical" ] ;
         fhir:line ( [ fhir:v "28014 Rodney street" ] ) ;
         fhir:city [ fhir:v "Williamsville" ] ;
         fhir:state [ fhir:v "BC" ] ;
         fhir:postalCode [ fhir:v "V6NIJ6" ] ;
         fhir:country [ fhir:v "CA" ]
       ] [
         fhir:type [ fhir:v "postal" ] ;
         fhir:line ( [ fhir:v "14230 Charleton ave" ] ) ;
         fhir:city [ fhir:v "Bruie" ] ;
         fhir:state [ fhir:v "BC" ] ;
         fhir:postalCode [ fhir:v "V1OZN4" ] ;
         fhir:country [ fhir:v "CA" ]
       ] ) ;
       fhir:link ( [
         fhir:other [
           fhir:l <http://hlth.gov.bc.ca/fhir/client/Patient/9b56c75b-92be-427c-ab3f-53554bf3339a> ;
           fhir:reference [ fhir:v "Patient/9b56c75b-92be-427c-ab3f-53554bf3339a" ]
         ] ;
         fhir:type [ fhir:v "replaces" ]
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

