New Zealand NHI IG
1.5.4 - Release

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

: NhiCapabilityStatement - TTL Representation

Draft as of 2020-04-21

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:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "NhiCapabilityStatement"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2 id=\"title\"/><ul><li>Implementation Guide Version: 1.5.4 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>json</code></li><li>Supported Patch Formats: <code>json</code></li><li>Published on: 2020-04-21 </li><li>Published by: Te Whatu Ora </li></ul><blockquote class=\"impl-note\"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h3 id=\"shallIGs\">SHALL Support the Following Implementation Guides</h3><ul><li>http://hl7.org.nz/fhir/StructureDefinition/NHI</li></ul><h2 id=\"rest\">FHIR RESTful Capabilities</h2><div class=\"panel panel-default\"><div class=\"panel-heading\"><h3 id=\"mode1\" class=\"panel-title\">Mode: <code>server</code></h3></div><div class=\"panel-body\"><div class=\"lead\"><em>Summary of System-wide Interactions</em></div></div></div><h3 id=\"resourcesCap1\">Capabilities by Resource/Profile</h3><h4 id=\"resourcesSummary1\">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class=\"bg-info\">R</span></b>ead, <b><span class=\"bg-info\">S</span></b>earch, <b><span class=\"bg-info\">U</span></b>pdate, and <b><span class=\"bg-info\">C</span></b>reate, are always shown, while <b><span class=\"bg-info\">VR</span></b>ead, <b><span class=\"bg-info\">P</span></b>atch, <b><span class=\"bg-info\">D</span></b>elete, <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">I</span></b>nstance, or <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class=\"table-responsive\"><table class=\"table table-condensed table-hover\"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class=\"text-center\"><b title=\"GET a resource (read interaction)\">R</b></th><th class=\"text-center\"><b title=\"GET all set of resources of the type (search interaction)\">S</b></th><th class=\"text-center\"><b title=\"PUT a new resource version (update interaction)\">U</b></th><th class=\"text-center\"><b title=\"POST a new resource (create interaction)\">C</b></th><th><b title=\"Required and recommended search parameters\">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href=\"#Patient1-1\">Patient</a></td><td><a href=\"StructureDefinition-NhiPatient.html\">http://hl7.org.nz/fhir/StructureDefinition/NhiPatient</a></td><td>y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td/><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Patient1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>Patient</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-NhiPatient.html\">http://hl7.org.nz/fhir/StructureDefinition/NhiPatient</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>read</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$match</td><td><div><p>POST, [base]/Patient/$match, &lt;b&gt;Match&lt;/b&gt;: with In parameter &lt;code&gt;onlyCertainMatches=0&lt;/code&gt; (False) the operation will search the NHI by demographics using fuzzy logic. Returns a bundle of results with match scores.  &lt;br/&gt;&lt;b&gt;Validate:&lt;/b&gt; with In parameter &lt;code&gt;onlyCertainMatches=1&lt;/code&gt; (True) the operation will validate known patient demographic details against an NHI number. Returns a bundle of results with one patient resource that only includes the live nhi-id.,  system/Patient.s system/Patient.v</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-set-preferred-name.html\">$set-preferred-name</a></td><td><div><p>POST, [base]/Patient/$set-preferred-name, Set the patient's preferred name,patient:Patient.u system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-set-address.html\">$set-address</a></td><td><div><p>POST, [base]/Patient/$set-address,Update a patient's address, patient:Patient.u system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-set-unvalidated-address.html\">$set-unvalidated-address</a></td><td><div><p>POST, [base]/Patient/$set-unvalidated-address, Allows a user to replace a physical address OR add or replace a postal address with an unvalidated address,system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-remove-postal-address.html\">$remove-postal-address</a></td><td><div><p>POST, [base]/Patient/$remove-postal-address, Remove a patient's postal address,patient:Patient.u system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-update-birth.html\">$update-birth</a></td><td><div><p>POST, [base]/Patient/$update-birth, Update a patient's birth information,  system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-update-identity.html\">$update-identity</a></td><td><div><p>POST, [base]/Patient/$update-identity, An operation to update a patient's identity details.,  patient:Patient.u  system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-add-name.html\">$add-name</a></td><td><div><p>POST, [base]/Patient/$add-name, Add a name to a patient's NHI record, system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-replace-name.html\">$replace-name</a></td><td><div><p>POST, [base]/Patient/$replace-name, An operation to replace a name on a patient's record, system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-inactivate-name.html\">$inactivate-name</a></td><td><div><p>POST, [base]/Patient/$inactivate-name, Inactivate a name that is currently active on a patients record ,system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-update-eligibility.html\">$update-eligibility</a></td><td><div><p>POST, [base]/Patient/$update-eligibility, Update a patient's citizenship information, system/Patient.u</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-Patient-create.html\">$create</a></td><td><div><p>POST, [base]/Patient/$create,Create a new patient record in the NHI, system/Patient.c</p>\n</div></td></tr></tbody></table></div></div></div></div></div></div>"
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org.nz/fhir/ig/nhi/CapabilityStatement/NhiCapabilityStatement"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.5.4"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2020-04-21"^^xsd:date] ; # 
  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 "A FHIR API in front of the New Zealand NHI"] ; # 
  fhir:kind [ fhir:v "instance"] ; # 
  fhir:implementation [
fhir:description [ fhir:v "HPI system" ]
  ] ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:format ( [ fhir:v "json"] ) ; # 
  fhir:patchFormat ( [ fhir:v "json"] ) ; # 
  fhir:implementationGuide ( [
fhir:v "http://hl7.org.nz/fhir/StructureDefinition/NHI"^^xsd:anyURI ;
fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NHI>
  ] ) ; # 
  fhir:rest ( [
fhir:mode [ fhir:v "server" ] ;
    ( fhir:resource [
fhir:type [ fhir:v "Patient" ] ;
fhir:profile [
fhir:v "http://hl7.org.nz/fhir/StructureDefinition/NhiPatient"^^xsd:anyURI ;
fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NhiPatient>       ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "GET,[base]/Patient/[nhi-id], Retrieve a Patient resource by Id , patient:Patient.r system/Patient.r" ]       ] ) ;
      ( fhir:operation [
fhir:name [ fhir:v "match" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/OperationDefinition/Patient-match"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/OperationDefinition/Patient-match>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$match, <b>Match</b>: with In parameter <code>onlyCertainMatches=0</code> (False) the operation will search the NHI by demographics using fuzzy logic. Returns a bundle of results with match scores.  <br/><b>Validate:</b> with In parameter <code>onlyCertainMatches=1</code> (True) the operation will validate known patient demographic details against an NHI number. Returns a bundle of results with one patient resource that only includes the live nhi-id.,  system/Patient.s system/Patient.v" ]       ] [
fhir:name [ fhir:v "set-preferred-name" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/set-preferred-name"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/set-preferred-name>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$set-preferred-name, Set the patient's preferred name,patient:Patient.u system/Patient.u" ]       ] [
fhir:name [ fhir:v "set-address" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/set-address"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/set-address>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$set-address,Update a patient's address, patient:Patient.u system/Patient.u" ]       ] [
fhir:name [ fhir:v "set-unvalidated-address" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/set-unvalidated-address"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/set-unvalidated-address>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$set-unvalidated-address, Allows a user to replace a physical address OR add or replace a postal address with an unvalidated address,system/Patient.u" ]       ] [
fhir:name [ fhir:v "remove-postal-address" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/remove-postal-address"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/remove-postal-address>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$remove-postal-address, Remove a patient's postal address,patient:Patient.u system/Patient.u" ]       ] [
fhir:name [ fhir:v "update-birth" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/update-birth"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/update-birth>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$update-birth, Update a patient's birth information,  system/Patient.u" ]       ] [
fhir:name [ fhir:v "update-identity" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/update-identity"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/update-identity>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$update-identity, An operation to update a patient's identity details.,  patient:Patient.u  system/Patient.u " ]       ] [
fhir:name [ fhir:v "add-name" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/add-name"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/add-name>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$add-name, Add a name to a patient's NHI record, system/Patient.u" ]       ] [
fhir:name [ fhir:v "replace-name" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/replace-name"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/replace-name>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$replace-name, An operation to replace a name on a patient's record, system/Patient.u" ]       ] [
fhir:name [ fhir:v "inactivate-name" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/inactivate-name"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/inactivate-name>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$inactivate-name, Inactivate a name that is currently active on a patients record ,system/Patient.u" ]       ] [
fhir:name [ fhir:v "update-eligibility" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/update-eligibility"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/update-eligibility>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$update-eligibility, Update a patient's citizenship information, system/Patient.u" ]       ] [
fhir:name [ fhir:v "create" ] ;
fhir:definition [
fhir:v "https://nhi-ig.hip.digital.health.nz/OperationDefinition/create-patient"^^xsd:anyURI ;
fhir:link <https://nhi-ig.hip.digital.health.nz/OperationDefinition/create-patient>         ] ;
fhir:documentation [ fhir:v "POST, [base]/Patient/$create,Create a new patient record in the NHI, system/Patient.c " ]       ] )     ] )
  ] ) . #