@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://www.medizininformatik-initiative.de/fhir/ext/mii-interface-module-pseudonymization/Bundle/pseudonymize-multiple-example-bundle-batch-response> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pseudonymize-multiple-example-bundle-batch-response"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.example.com/StructureDefinition/pseudonymize-multiple-batch-response"^^xsd:anyURI ;
       fhir:l <https://fhir.example.com/StructureDefinition/pseudonymize-multiple-batch-response>
     ] )
  ] ; # 
  fhir:type [ fhir:v "batch-response"] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "urn:uuid:0ee863aa-1fe7-4d5f-6666-8f5edc7981d9"^^xsd:anyURI ;
       fhir:l <urn:uuid:0ee863aa-1fe7-4d5f-6666-8f5edc7981d9>
     ] ;
     fhir:resource ( <urn:uuid:0ee863aa-1fe7-4d5f-6666-8f5edc7981d9> ) ;
     fhir:response [
       fhir:status [ fhir:v "201 Created" ]
     ]
  ] [
     fhir:fullUrl [
       fhir:v "urn:uuid:c672a2ae-4d75-4723-6666-524994fdd07a"^^xsd:anyURI ;
       fhir:l <urn:uuid:c672a2ae-4d75-4723-6666-524994fdd07a>
     ] ;
     fhir:resource ( <urn:uuid:c672a2ae-4d75-4723-6666-524994fdd07a> ) ;
     fhir:response [
       fhir:status [ fhir:v "404 Not Found" ]
     ]
  ] ) . # 

<urn:uuid:0ee863aa-1fe7-4d5f-6666-8f5edc7981d9> a fhir:Parameters ;
  fhir:id [ fhir:v "0ee863aa-1fe7-4d5f-6666-8f5edc7981d9"] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "pseudonym" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "target" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "MultiPsnDomain" ]
       ]
     ] [
       fhir:name [ fhir:v "original" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "H3RAU56A8E1" ]
       ]
     ] [
       fhir:name [ fhir:v "value" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "53KUNDA3RP5N1" ]
       ]
     ] )
  ] [
     fhir:name [ fhir:v "pseudonym" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "target" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "MultiPsnDomain" ]
       ]
     ] [
       fhir:name [ fhir:v "original" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "H3RAU56A8E1" ]
       ]
     ] [
       fhir:name [ fhir:v "value" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "53KUNDA3RP5N2" ]
       ]
     ] )
  ] [
     fhir:name [ fhir:v "pseudonym" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "target" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "MultiPsnDomain" ]
       ]
     ] [
       fhir:name [ fhir:v "original" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "H3RAU56A8E1" ]
       ]
     ] [
       fhir:name [ fhir:v "value" ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [
           fhir:v "https://sample/multi-psn-capable-system"^^xsd:anyURI ;
           fhir:l <https://sample/multi-psn-capable-system>
         ] ;
         fhir:value [ fhir:v "53KUNDA3RP5N3" ]
       ]
     ] )
  ] ) . # 

<urn:uuid:c672a2ae-4d75-4723-6666-524994fdd07a> a fhir:OperationOutcome ;
  fhir:id [ fhir:v "c672a2ae-4d75-4723-6666-524994fdd07a"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"OperationOutcome_c672a2ae-4d75-4723-6666-524994fdd07a\"> </a><p class=\"res-header-id\"><b>Generated Narrative: OperationOutcome c672a2ae-4d75-4723-6666-524994fdd07a</b></p><a name=\"c672a2ae-4d75-4723-6666-524994fdd07a\"> </a><a name=\"hcc672a2ae-4d75-4723-6666-524994fdd07a\"> </a><h3>Issues</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Diagnostics</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>Error</td><td>Not Found</td><td>The given pseudonymization target 'pseudonym-domain-that-doesn't-exist' was not found.</td><td>Parameters.parameter.where(name='target')</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:issue ( [
     fhir:severity [ fhir:v "error" ] ;
     fhir:code [ fhir:v "not-found" ] ;
     fhir:diagnostics [ fhir:v "The given pseudonymization target 'pseudonym-domain-that-doesn't-exist' was not found." ] ;
     fhir:expression ( [ fhir:v "Parameters.parameter.where(name='target')" ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

