Patsiendi üldandmete teenus / Master Patient Index
1.5.0 - trial-use Estonia flag

Patsiendi üldandmete teenus / Master Patient Index - Downloaded Version 1.5.0 See the Directory of published versions

: PatientResolveReferenceExample - TTL Representation

Raw ttl | Download


@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://hl7.org/fhir/Parameters/patient-resolve-reference-example> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-resolve-reference-example"] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "match" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "identifier" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [ fhir:v "https://fhir.ee/sid/pid/est/ni"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "37302102711" ]
       ]
     ] [
       fhir:name [ fhir:v "patient" ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:link <http://hl7.org/fhir/Patient/pat1> ;
         fhir:reference [ fhir:v "Patient/pat1" ]
       ]
     ] )
  ] [
     fhir:name [ fhir:v "match" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "identifier" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [ fhir:v "https://fhir.ee/sid/pid/fin/ni"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "131052-308T" ]
       ]
     ] [
       fhir:name [ fhir:v "patient" ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:link <http://hl7.org/fhir/Patient/pat4> ;
         fhir:reference [ fhir:v "Patient/pat4" ]
       ]
     ] )
  ] [
     fhir:name [ fhir:v "match" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "identifier" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [ fhir:v "urn:oid:1.3.6.1.4.1.28284.6.2.2.16.752.2"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "198112189876" ]
       ]
     ] [
       fhir:name [ fhir:v "patient" ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:link <http://hl7.org/fhir/Patient/pat3> ;
         fhir:reference [ fhir:v "Patient/pat3" ]
       ]
     ] )
  ] [
     fhir:name [ fhir:v "match" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "identifier" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [ fhir:v "https://fhir.ee/sid/pid/est/ni"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "49010012345" ]
       ]
     ] [
       fhir:name [ fhir:v "issue" ] ;
       fhir:Parameters.parameter.resource ( [
         a fhir:OperationOutcome ;
         fhir:id [ fhir:v "PatientResolveReferenceNotFoundIssue" ] ;
         fhir:issue ( [
           fhir:severity [ fhir:v "warning" ] ;
           fhir:code [ fhir:v "not-found" ] ;
           fhir:details [
             fhir:coding ( [
               fhir:system [ fhir:v "https://mpi.tehik.ee"^^xsd:anyURI ] ;
               fhir:code [ fhir:v "MPI-021" ]
             ] ) ;
             fhir:text [ fhir:v "Patsienti ei leitud" ]
           ]
         ] )
       ] )
     ] )
  ] [
     fhir:name [ fhir:v "match" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "identifier" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [ fhir:v "https://example.com/unknown-system"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "12345678901" ]
       ]
     ] [
       fhir:name [ fhir:v "issue" ] ;
       fhir:Parameters.parameter.resource ( [
         a fhir:OperationOutcome ;
         fhir:id [ fhir:v "PatientResolveReferenceInvalidSystemIssue" ] ;
         fhir:issue ( [
           fhir:severity [ fhir:v "error" ] ;
           fhir:code [ fhir:v "invalid" ] ;
           fhir:details [
             fhir:coding ( [
               fhir:system [ fhir:v "https://mpi.tehik.ee"^^xsd:anyURI ] ;
               fhir:code [ fhir:v "MPI-067" ]
             ] ) ;
             fhir:text [ fhir:v "Patsiendi identifikaatori süsteem https://example.com/unknown-system ei ole lubatud" ]
           ]
         ] )
       ] )
     ] )
  ] ) . # 

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .

<http://hl7.org/fhir/Patient/pat4> a fhir:Patient .

<http://hl7.org/fhir/Patient/pat3> a fhir:Patient .