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

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

## : New Zealand Pharmacy Claim 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:Claim ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/NzPharmacyClaim"^^xsd:anyURI ;
    fhir:link <https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/NzPharmacyClaim>     ] )
      ] ; #
      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: Claim NzPharmacyClaimExample2</b></p><a name=\"NzPharmacyClaimExample2\"> </a><a name=\"hcNzPharmacyClaimExample2\"> </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-NzPharmacyClaim.html\">NZ Pharmacy Claim</a></p></div><p><b>Patient Cohort</b>: CRC</p><p><b>Claimant Number</b>: AG12345</p><p><b>Originating Claimant Number</b>: AG54321</p><p><b>identifier</b>: <code>https://standards.digital.health.nz/ns/nzeps-scid-item-id</code>/123456789123456789</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/claim-type PHM}\">PHM</span></p><p><b>subType</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/claim-subtype ICPSA}\">ICPSA</span></p><p><b>use</b>: Claim</p><p><b>patient</b>: <a href=\"Patient/ZZZ0008\">Mr Test Patient | Male | 2001-01-01</a></p><p><b>billablePeriod</b>: 2025-01-01 --&gt; 2025-01-01</p><p><b>created</b>: 2025-01-01 00:00:00+0000</p><p><b>enterer</b>: <a href=\"Practitioner/12345\">Practitioner/12345</a></p><p><b>provider</b>: <code>Organisation/12345</code></p><p><b>priority</b>: <span title=\"Codes:\">routine</span></p><h3>SupportingInfos</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Category</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td><span title=\"Codes:{https://standards.digital.health.nz/ns/transaction-category PHARMACY}\">PHARMACY</span></td></tr></table><h3>Insurances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Focal</b></td><td><b>Coverage</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>true</td><td><a href=\"Coverage/9876B1\">Coverage/9876B1</a></td></tr></table><blockquote><p><b>item</b></p><p><b>Patient Flag</b>: true</p><p><b>Prescriber Flag</b>: false</p><p><b>Prescription Flag</b>: true</p><p><b>Dose Flag</b>: false</p><p><b>Group ID</b>: GRP001</p><p><b>sequence</b>: 1</p><p><b>productOrService</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/purchase-unit PU1234}\">PU1234</span></p><p><b>serviced</b>: 2015-01-01</p><blockquote><p><b>detail</b></p><p><b>Balance Owing</b>: 0</p><p><b>Wastage Quantity</b>: 5 Tablets</p><p><b>CBS Subsidy</b>: <span title=\"New Zealand Dollar\">$10.00</span> (NZD)</p><p><b>CBS Pack Size</b>: 30 Tablets</p><p><b>sequence</b>: 1</p><p><b>productOrService</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/pharmac-subsidy-code 123456}\">123456</span></p><p><b>quantity</b>: 180 Tablets</p><h3>Nets</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>500</td><td>New Zealand dollar</td></tr></table></blockquote></blockquote><h3>Totals</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>500</td><td>New Zealand dollar</td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/patient-cohort"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "CRC"     ]
      ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/claimant-number"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "AG12345"     ]
      ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/originating-claimant-number"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "AG54321"     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nzeps-scid-item-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "123456789123456789" ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:type [
        ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/claim-type"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PHM" ]     ] )
      ] ; #
      fhir:subType [
        ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/claim-subtype"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "ICPSA" ]     ] )
      ] ; #
      fhir:use [ fhir:v "claim"] ; #
      fhir:patient [
    fhir:reference [ fhir:v "Patient/ZZZ0008" ] ;
    fhir:type [ fhir:v "Patient"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nhi-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "ZZZ0008" ]     ] ;
    fhir:display [ fhir:v "Mr Test Patient | Male | 2001-01-01" ]
      ] ; #
      fhir:billablePeriod [
    fhir:start [ fhir:v "2025-01-01"^^xsd:date ] ;
    fhir:end [ fhir:v "2025-01-01"^^xsd:date ]
      ] ; #
      fhir:created [ fhir:v "2025-01-01T00:00:00-00:00"^^xsd:dateTime] ; #
      fhir:enterer [
    fhir:reference [ fhir:v "Practitioner/12345" ] ;
    fhir:type [ fhir:v "Practitioner"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/hpi-person-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "12345" ]     ]
      ] ; #
      fhir:provider [
    fhir:reference [ fhir:v "Organisation/12345" ] ;
    fhir:type [ fhir:v "Organisation"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/hpi-organisation-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "12345" ]     ]
      ] ; #
      fhir:priority [
        ( fhir:coding [
    fhir:code [ fhir:v "routine" ]     ] )
      ] ; #
      fhir:supportingInfo ( [
    fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:category [
          ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/transaction-category"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PHARMACY" ]       ] )     ]
      ] ) ; #
      fhir:insurance ( [
    fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:focal [ fhir:v true ] ;
    fhir:coverage [
    fhir:reference [ fhir:v "Coverage/9876B1" ]     ]
      ] ) ; #
      fhir:item ( [
        ( fhir:extension [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/patient-flag"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true       ]     ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/prescriber-flag"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v false       ]     ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/prescription-flag"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true       ]     ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dose-flag"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v false       ]     ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/group-id"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "GRP001"       ]     ] ) ;
    fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:productOrService [
          ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/purchase-unit"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PU1234" ]       ] )     ] ;
    fhir:serviced [
    a fhir:date ;
    fhir:v "2015-01-01"^^xsd:date     ] ;
        ( fhir:detail [
          ( fhir:extension [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/hsaap-balance-owing"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "0"         ]       ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/wastageQuantity"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Quantity ;
    fhir:value [ fhir:v "5"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Tablets" ]         ]       ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/cbsSubsidy"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Money ;
    fhir:value [ fhir:v "10"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "NZD" ]         ]       ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/cbsPackSize"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Quantity ;
    fhir:value [ fhir:v "30"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Tablets" ]         ]       ] ) ;
    fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:productOrService [
            ( fhir:coding [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/pharmac-subsidy-code"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "123456" ]         ] )       ] ;
    fhir:quantity [
    fhir:value [ fhir:v "180"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Tablets" ]       ] ;
    fhir:net [
    fhir:value [ fhir:v "500"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "NZD" ]       ]     ] )
      ] ) ; #
      fhir:total [
    fhir:value [ fhir:v "500"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "NZD" ]
      ] . #