Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.4 - release

Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.4) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : New Zealand Pharmacy Claim Response Example - 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 -------------------------------------------------------------------

     a fhir:ClaimResponse ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/NzPharmacyClaimResponse"^^xsd:anyURI ;
    fhir:link <https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/NzPharmacyClaimResponse>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ClaimResponse NzPharmacyClaimResponseExample</b></p><a name=\"NzPharmacyClaimResponseExample\"> </a><a name=\"hcNzPharmacyClaimResponseExample\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-NzPharmacyClaimResponse.html\">New Zealand Pharmacy Claim Response</a></p></div><p><b>Shared Care Claim Trace Number</b>: <code>https://example.com/system</code>/TRN-123456789</p><p><b>identifier</b>: 123456789123456789</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/claim-type pharmacy}\">Pharmacy</span></p><p><b>use</b>: Claim</p><p><b>patient</b>: <a href=\"Patient/example\">Patient/example</a></p><p><b>created</b>: 2025-01-01 00:00:00+0000</p><p><b>insurer</b>: <a href=\"Organization/pharmac\">Organization/pharmac</a></p><p><b>requestor</b>: <a href=\"Organization/pharmacy\">Organization/pharmacy</a></p><p><b>request</b>: <a href=\"Claim/123456789123456789\">Claim/123456789123456789</a></p><p><b>outcome</b>: Processing Complete</p><blockquote><p><b>item</b></p><p><b>Shared Care Product Or Service</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/purchase-unit PU1234}\">PU1234</span></p><p><b>itemSequence</b>: 1</p><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/pharmacy-adjudication-category amountpaid}\">Amount Paid</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>100</td><td>New Zealand dollar</td></tr></table></blockquote><blockquote><p><b>detail</b></p><p><b>detailSequence</b>: 1</p><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/pharmacy-adjudication-category drugcost}\">Drug Cost</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>50</td><td>New Zealand dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/pharmacy-adjudication-category pharmaceuticalsubsidy}\">Pharmaceutical Subsidy</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>30</td><td>New Zealand dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/pharmacy-adjudication-category amountpaid}\">Amount Paid</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>100</td><td>New Zealand dollar</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>payment</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-paymenttype complete}\">Complete</span></p><p><b>date</b>: 2025-01-01</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>100</td><td>New Zealand dollar</td></tr></table></blockquote><h3>Errors</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ItemSequence</b></td><td><b>DetailSequence</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>1</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/adjudication-error a002}\">Missing Creation Date</span></td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/shared-care-trace-number"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [ fhir:v "https://example.com/system"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "TRN-123456789" ]     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:value [ fhir:v "123456789123456789" ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:type [
        ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/claim-type"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "pharmacy" ]     ] )
      ] ; #
      fhir:use [ fhir:v "claim"] ; #
      fhir:patient [
    fhir:reference [ fhir:v "Patient/example" ]
      ] ; #
      fhir:created [ fhir:v "2025-01-01T00:00:00-00:00"^^xsd:dateTime] ; #
      fhir:insurer [
    fhir:reference [ fhir:v "Organization/pharmac" ]
      ] ; #
      fhir:requestor [
    fhir:reference [ fhir:v "Organization/pharmacy" ]
      ] ; #
      fhir:request [
    fhir:reference [ fhir:v "Claim/123456789123456789" ]
      ] ; #
      fhir:outcome [ fhir:v "complete"] ; #
      fhir:item ( [
        ( fhir:extension [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/shared-care-product-or-service"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
            ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/purchase-unit"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PU1234" ]         ] )       ]     ] ) ;
    fhir:itemSequence [ fhir:v "1"^^xsd:positiveInteger ] ;
        ( fhir:adjudication [
    fhir:category [
            ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/pharmacy-adjudication-category"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "amountpaid" ]         ] )       ] ;
    fhir:amount [
    fhir:value [ fhir:v "100"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "NZD" ]       ]     ] ) ;
        ( fhir:detail [
    fhir:detailSequence [ fhir:v "1"^^xsd:positiveInteger ] ;
          ( fhir:adjudication [
    fhir:category [
              ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/pharmacy-adjudication-category"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "drugcost" ]           ] )         ] ;
    fhir:amount [
    fhir:value [ fhir:v "50"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "NZD" ]         ]       ] [
    fhir:category [
              ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/pharmacy-adjudication-category"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "pharmaceuticalsubsidy" ]           ] )         ] ;
    fhir:amount [
    fhir:value [ fhir:v "30"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "NZD" ]         ]       ] [
    fhir:category [
              ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/pharmacy-adjudication-category"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "amountpaid" ]           ] )         ] ;
    fhir:amount [
    fhir:value [ fhir:v "100"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "NZD" ]         ]       ] )     ] )
      ] ) ; #
      fhir:payment [
    fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-paymenttype"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "complete" ]       ] )     ] ;
    fhir:date [ fhir:v "2025-01-01"^^xsd:date ] ;
    fhir:amount [
    fhir:value [ fhir:v "100"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "NZD" ]     ]
      ] ; #
      fhir:error ( [
    fhir:itemSequence [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:detailSequence [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:code [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/adjudication-error"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "a002" ]       ] )     ]
      ] ) . #