{
  "resourceType": "StructureDefinition",
  "id": "f87457b4-2cd6-41c4-acaf-abf945071d03",
  "meta": {
    "lastUpdated": "2023-02-23T13:12:20.904291+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/ChargeItemSe",
  "name": "ChargeItemSe",
  "status": "retired",
  "date": "2023-02-23T13:13:38.4425678+00:00",
  "description": "Please note that this version of the ChargeItemSe profile is deprecated and the recommended profile to use is ChargeItemSe(version 2).",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "ChargeItem",
  "baseDefinition": "https://fhir.cambio.se/StructureDefinition/ChargeItemCore",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ChargeItem.identifier",
        "path": "ChargeItem.identifier",
        "max": "0"
      },
      {
        "id": "ChargeItem.definitionUri",
        "path": "ChargeItem.definitionUri",
        "max": "0"
      },
      {
        "id": "ChargeItem.definitionCanonical",
        "path": "ChargeItem.definitionCanonical",
        "max": "0"
      },
      {
        "id": "ChargeItem.status",
        "path": "ChargeItem.status",
        "definition": "Only support billable and billed statuses."
      },
      {
        "id": "ChargeItem.partOf",
        "path": "ChargeItem.partOf",
        "max": "0"
      },
      {
        "id": "ChargeItem.code.coding",
        "path": "ChargeItem.code.coding",
        "max": "1"
      },
      {
        "id": "ChargeItem.code.coding.system",
        "path": "ChargeItem.code.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/chargeitem-billingcodes"
      },
      {
        "id": "ChargeItem.code.coding.code",
        "path": "ChargeItem.code.coding.code",
        "fixedCode": "1320"
      },
      {
        "id": "ChargeItem.code.coding.display",
        "path": "ChargeItem.code.coding.display",
        "definition": "Grundpauschale is German for Flat Rate which refers to a pricing structure where we have fixed fee non regarding of the time for a service.",
        "fixedString": "Grundpauschale"
      },
      {
        "id": "ChargeItem.subject",
        "path": "ChargeItem.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.context",
        "path": "ChargeItem.context",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.cambio.se/StructureDefinition/EncounterSelfService/v1"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.context.type",
        "path": "ChargeItem.context.type",
        "fixedUri": "Encounter"
      },
      {
        "id": "ChargeItem.occurrence[x]",
        "path": "ChargeItem.occurrence[x]",
        "max": "0"
      },
      {
        "id": "ChargeItem.performer",
        "path": "ChargeItem.performer",
        "max": "0"
      },
      {
        "id": "ChargeItem.performingOrganization",
        "path": "ChargeItem.performingOrganization",
        "max": "0"
      },
      {
        "id": "ChargeItem.requestingOrganization",
        "path": "ChargeItem.requestingOrganization",
        "max": "0"
      },
      {
        "id": "ChargeItem.costCenter",
        "path": "ChargeItem.costCenter",
        "max": "0"
      },
      {
        "id": "ChargeItem.quantity",
        "path": "ChargeItem.quantity",
        "max": "0"
      },
      {
        "id": "ChargeItem.bodysite",
        "path": "ChargeItem.bodysite",
        "max": "0"
      },
      {
        "id": "ChargeItem.factorOverride",
        "path": "ChargeItem.factorOverride",
        "max": "0"
      },
      {
        "id": "ChargeItem.priceOverride",
        "path": "ChargeItem.priceOverride",
        "max": "0"
      },
      {
        "id": "ChargeItem.overrideReason",
        "path": "ChargeItem.overrideReason",
        "max": "0"
      },
      {
        "id": "ChargeItem.enterer",
        "path": "ChargeItem.enterer",
        "max": "0"
      },
      {
        "id": "ChargeItem.enteredDate",
        "path": "ChargeItem.enteredDate",
        "max": "0"
      },
      {
        "id": "ChargeItem.reason",
        "path": "ChargeItem.reason",
        "max": "0"
      },
      {
        "id": "ChargeItem.service",
        "path": "ChargeItem.service",
        "max": "0"
      },
      {
        "id": "ChargeItem.product[x]",
        "path": "ChargeItem.product[x]",
        "max": "0"
      },
      {
        "id": "ChargeItem.account",
        "path": "ChargeItem.account",
        "max": "0"
      },
      {
        "id": "ChargeItem.note",
        "path": "ChargeItem.note",
        "max": "0"
      },
      {
        "id": "ChargeItem.supportingInformation",
        "path": "ChargeItem.supportingInformation",
        "max": "0"
      }
    ]
  }
}