New Zealand NHI IG
1.6.1 - Release

New Zealand NHI IG - Local Development build (v1.6.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Patient-create - TTL Representation

Draft as of 2022-05-28

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Patient-create"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition Patient-create</b></p><a name=\"Patient-create\"> </a><a name=\"hcPatient-create\"> </a><a name=\"Patient-create-en-US\"> </a><p>URL: [base]/Patient/$create</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>patient</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a> (<a href=\"StructureDefinition-CreateNhiPatient.html\" title=\"http://hl7.org.nz/fhir/StructureDefinition/CreateNhiPatient\">Create NHI Patient</a>)</td><td/><td/></tr><tr><td>OUT</td><td>return</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></td><td/><td><div><p>The updated patient resource</p>\n</div></td></tr><tr><td>OUT</td><td>failure</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>Error response</p>\n</div></td></tr></table><div><p>The patient information is validated. If all request parameters are valid the new patient is created in the NHI</p>\n</div></div>"
  ] ; # 
  fhir:url [ fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/create-patient"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.6.1"] ; # 
  fhir:name [ fhir:v "Create Patient"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2022-05-28T12:47:40+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Te Whatu Ora"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Te Whatu Ora" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mailto:integration@health.govt.nz" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "create a patient in the NHI"] ; # 
  fhir:affectsState [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:code [ fhir:v "create"] ; # 
  fhir:comment [ fhir:v "The patient information is validated. If all request parameters are valid the new patient is created in the NHI"] ; # 
  fhir:resource ( [ fhir:v "Patient"] ) ; # 
  fhir:system [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:instance [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "patient" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Patient" ] ;
    ( fhir:targetProfile [
fhir:v "http://hl7.org.nz/fhir/StructureDefinition/CreateNhiPatient"^^xsd:anyURI ;
fhir:link <http://hl7.org.nz/fhir/StructureDefinition/CreateNhiPatient>     ] )
  ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The updated patient resource" ] ;
fhir:type [ fhir:v "Patient" ]
  ] [
fhir:name [ fhir:v "failure" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Error response" ] ;
fhir:type [ fhir:v "OperationOutcome" ]
  ] ) . #