@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://fhir-ig.digital.health.nz/sdhr/Parameters/ParametersParticipateRecordReleased> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ParametersParticipateRecordReleased"] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "patient" ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZKC7284> ;
       fhir:reference [ fhir:v "https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZKC7284" ] ;
       fhir:type [
         fhir:v "Patient"^^xsd:anyURI ;
         fhir:l fhir:Patient
       ] ;
       fhir:display [ fhir:v "Susan Westbrook" ]
     ]
  ] [
     fhir:name [ fhir:v "facilityId" ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ111-A> ;
       fhir:reference [ fhir:v "https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ111-A" ]
     ]
  ] [
     fhir:name [ fhir:v "resourceType" ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "Condition"
     ]
  ] [
     fhir:name [ fhir:v "localResourceId" ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "12345AAABBBccc"
     ]
  ] [
     fhir:name [ fhir:v "reasonCode" ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "https://fhir-ig.digital.health.nz/sdhr/CodeSystem/sdhr-participation-reason"^^xsd:anyURI ;
           fhir:l <https://fhir-ig.digital.health.nz/sdhr/CodeSystem/sdhr-participation-reason>
         ] ;
         fhir:code [ fhir:v "sdhr-record-released" ] ;
         fhir:display [ fhir:v "Record released" ]
       ] )
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

