{
  "resourceType" : "ChargeItemDefinition",
  "resourceDefinition" : "http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition|0.1.0",
  "id" : "device",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: ChargeItemDefinition device</b></p><a name=\"device\"> </a><a name=\"hcdevice\"> </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\">Language: en</p></div><p><b>url</b>: <a href=\"http://sap.org/ChargeItemDefinition/device-123\">http://sap.org/ChargeItemDefinition/device-123</a></p><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/6.5.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt \r\n\r\nThis oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: \r\n\r\nNote that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.\r\n\r\nThis OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:oid:2.16.840.1.113883.4.642.29.2</p><p><b>name</b>: CustomDevice345675</p><p><b>title</b>: Financial details for custom made device (345675)</p><p><b>status</b>: Active</p><p><b>date</b>: 2023-02</p><p><b>publisher</b>: Example Publisher</p><p><b>description</b>: </p><div><p>Financial details for custom made device</p>\n</div><h3>UseContexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-usage-context-type.html#usage-context-type-venue\">UsageContextType: venue</a> (Clinical Venue)</td><td><span title=\"Codes:{http://snomed.info/sct 440655000}\">Outpatient environment</span></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-usage-context-type.html#usage-context-type-age\">UsageContextType: age</a> (Age Range)</td><td>&gt;18 yrs<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codea = 'a')</span></td></tr></table><p><b>jurisdiction</b>: <span title=\"Codes:{http://unstats.un.org/unsd/methods/m49/m49.htm 001}\">World</span></p><p><b>instance</b>: <a href=\"Device/example\">Device/example</a></p><blockquote><p><b>applicability</b></p><h3>Conditions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>Verify ChargeItem pertains to Device 12345</td><td>text/fhirpath</td><td>%context.service.suppliedItem.reference='Device/12345'</td></tr></table></blockquote><blockquote><p><b>propertyGroup</b></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><p><b>code</b>: <span title=\"Codes:{http://fhir.de/CodeSystem/billing-attributes VK}\">Verkaufspreis (netto)</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>67.44</td><td>Euro</td></tr></table></blockquote></blockquote><blockquote><p><b>propertyGroup</b></p></blockquote><p><b style=\"color: maroon\">Exception Generating Narrative: Unable to resolve content reference http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition#ChargeItemDefinition.applicability trying to resolve ChargeItemDefinition.propertyGroup.applicability </b></p></div>"
  },
  "url" : "http://sap.org/ChargeItemDefinition/device-123",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.29.2"
  }],
  "name" : "CustomDevice345675",
  "title" : "Financial details for custom made device (345675)",
  "status" : "active",
  "date" : "2023-02",
  "publisher" : "Example Publisher",
  "description" : "Financial details for custom made device",
  "useContext" : [{
    "code" : {
      "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
      "code" : "venue"
    },
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "440655000",
        "display" : "Outpatient environment"
      }]
    }
  },
  {
    "code" : {
      "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
      "code" : "age"
    },
    "valueQuantity" : {
      "value" : 18,
      "comparator" : ">",
      "unit" : "yrs",
      "system" : "http://unitsofmeasure.org",
      "code" : "a"
    }
  }],
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "instance" : [{
    "reference" : "Device/example"
  }],
  "applicability" : [{
    "condition" : {
      "description" : "Verify ChargeItem pertains to Device 12345",
      "language" : "text/fhirpath",
      "expression" : "%context.service.suppliedItem.reference='Device/12345'"
    }
  }],
  "propertyGroup" : [{
    "priceComponent" : [{
      "type" : "base",
      "code" : {
        "coding" : [{
          "system" : "http://fhir.de/CodeSystem/billing-attributes",
          "code" : "VK",
          "display" : "Verkaufspreis (netto)"
        }]
      },
      "amount" : {
        "value" : 67.44,
        "currency" : "EUR"
      }
    }]
  },
  {
    "applicability" : [{
      "condition" : {
        "description" : "Gültigkeit Steuersatz",
        "language" : "text/fhirpath",
        "expression" : "%context.occurenceDateTime > '2018-04-01'"
      }
    }],
    "priceComponent" : [{
      "type" : "tax",
      "code" : {
        "coding" : [{
          "system" : "http://fhir.de/CodeSystem/billing-attributes",
          "code" : "MWST",
          "display" : "Mehrwersteuersatz"
        }]
      },
      "factor" : 1.19
    }]
  },
  {
    "applicability" : [{
      "condition" : {
        "description" : "Gültigkeit Steuersatz",
        "language" : "text/fhirpath",
        "expression" : "%context.occurenceDateTime <= '2018-04-01'"
      }
    }],
    "priceComponent" : [{
      "type" : "tax",
      "code" : {
        "coding" : [{
          "system" : "http://fhir.de/CodeSystem/billing-attributes",
          "code" : "MWST",
          "display" : "Mehrwersteuersatz"
        }]
      },
      "factor" : 1.07
    }]
  }]
}