@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://ths-greifswald.de/fhir/epix/Parameters/Parameters-AddPatient-response-example-1> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Parameters-AddPatient-response-example-1"] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "matchResult" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "sourceIdentity" ] ;
       fhir:Parameters.parameter.resource ( [
         a fhir:Patient ;
         fhir:meta [
           fhir:profile ( [
             fhir:v "https://ths-greifswald.de/fhir/StructureDefinition/epix/Patient"^^xsd:anyURI ;
             fhir:l <https://ths-greifswald.de/fhir/StructureDefinition/epix/Patient>
           ] )
         ] ;
         fhir:extension ( [
           fhir:extension ( [
             fhir:value [
               a fhir:String ;
               fhir:v "A38"
             ]
           ] [
             fhir:value [
               a fhir:Boolean ;
               fhir:v true
             ]
           ] )
         ] ) ;
         fhir:name ( [
           fhir:family [ fhir:v "xxxxx" ] ;
           fhir:given ( [ fhir:v "Stefanie" ] )
         ] ) ;
         fhir:birthDate [ fhir:v "1962-12-17"^^xsd:date ]
       ] )
     ] [
       fhir:name [ fhir:v "matchStatus" ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "https://ths-greifswald.de/fhir/CodeSystem/epix/MatchStatus"^^xsd:anyURI ;
           fhir:l <https://ths-greifswald.de/fhir/CodeSystem/epix/MatchStatus>
         ] ;
         fhir:code [ fhir:v "MATCH" ]
       ]
     ] [
       fhir:name [ fhir:v "mpiPerson" ] ;
       fhir:Parameters.parameter.resource ( [
         a fhir:Person ;
         fhir:id [ fhir:v "52" ] ;
         fhir:meta [
           fhir:lastUpdated [ fhir:v "2021-06-17T08:28:03.200+02:00"^^xsd:dateTime ] ;
           fhir:profile ( [
             fhir:v "https://ths-greifswald.de/fhir/StructureDefinition/epix/Person"^^xsd:anyURI ;
             fhir:l <https://ths-greifswald.de/fhir/StructureDefinition/epix/Person>
           ] )
         ] ;
         fhir:identifier ( [
           fhir:system [
             fhir:v "https://ths-greifswald.de/fhir/epix/identifier/MPI"^^xsd:anyURI ;
             fhir:l <https://ths-greifswald.de/fhir/epix/identifier/MPI>
           ] ;
           fhir:value [ fhir:v "1001000000066" ]
         ] ) ;
         fhir:managingOrganization [
           fhir:identifier [
             fhir:value [ fhir:v "MIRACUM" ]
           ]
         ] ;
         fhir:active [ fhir:v true ] ;
         fhir:link ( [
           fhir:target [
             fhir:l <https://ths-greifswald.de/fhir/epix/Patient/52> ;
             fhir:reference [ fhir:v "Patient/52" ]
           ]
         ] [
           fhir:target [
             fhir:l <https://ths-greifswald.de/fhir/epix/Patient/53> ;
             fhir:reference [ fhir:v "Patient/53" ]
           ] ;
           fhir:assurance [ fhir:v "level4" ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "identity" ] ;
       fhir:Parameters.parameter.resource ( [
         a fhir:Patient ;
         fhir:id [ fhir:v "52" ] ;
         fhir:meta [
           fhir:versionId [ fhir:v "1" ] ;
           fhir:lastUpdated [ fhir:v "2021-06-17T08:28:03.200+02:00"^^xsd:dateTime ] ;
           fhir:source [
             fhir:v "dummy_safe_source"^^xsd:anyURI ;
             fhir:l fhir:dummy_safe_source
           ] ;
           fhir:profile ( [
             fhir:v "https://ths-greifswald.de/fhir/StructureDefinition/epix/Patient"^^xsd:anyURI ;
             fhir:l <https://ths-greifswald.de/fhir/StructureDefinition/epix/Patient>
           ] )
         ] ;
         fhir:extension ( [
           fhir:extension ( [
             fhir:value [
               a fhir:String ;
               fhir:v "A38"
             ]
           ] [
             fhir:value [
               a fhir:Boolean ;
               fhir:v true
             ]
           ] )
         ] ) ;
         fhir:identifier ( [
           fhir:system [
             fhir:v "https://ths-greifswald.de/fhir/epix/identifier/SystemXY"^^xsd:anyURI ;
             fhir:l <https://ths-greifswald.de/fhir/epix/identifier/SystemXY>
           ] ;
           fhir:value [ fhir:v "ABC_12345" ]
         ] ) ;
         fhir:active [ fhir:v true ] ;
         fhir:name ( [
           fhir:family [ fhir:v "xxxxx" ] ;
           fhir:given ( [ fhir:v "Stefanie" ] )
         ] ) ;
         fhir:gender [ fhir:v "male" ] ;
         fhir:birthDate [ fhir:v "1962-12-17"^^xsd:date ]
       ] )
     ] [
       fhir:name [ fhir:v "identity" ] ;
       fhir:Parameters.parameter.resource ( [
         a fhir:Patient ;
         fhir:id [ fhir:v "53" ] ;
         fhir:meta [
           fhir:versionId [ fhir:v "1" ] ;
           fhir:lastUpdated [ fhir:v "2021-06-17T08:28:24.180+02:00"^^xsd:dateTime ] ;
           fhir:source [
             fhir:v "dummy_safe_source"^^xsd:anyURI ;
             fhir:l fhir:dummy_safe_source
           ] ;
           fhir:profile ( [
             fhir:v "https://ths-greifswald.de/fhir/StructureDefinition/epix/Patient"^^xsd:anyURI ;
             fhir:l <https://ths-greifswald.de/fhir/StructureDefinition/epix/Patient>
           ] )
         ] ;
         fhir:active [ fhir:v true ] ;
         fhir:name ( [
           fhir:family [ fhir:v "xxxxx" ] ;
           fhir:given ( [ fhir:v "Stefanie" ] )
         ] ) ;
         fhir:gender [ fhir:v "male" ] ;
         fhir:birthDate [ fhir:v "1962-12-16"^^xsd:date ]
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

