{
  "resourceType": "StructureDefinition",
  "url": "http://medico-emr.net/stu3/sd/Coverage-CostUnit-1",
  "name": "Coverage-CostUnit-1",
  "status": "draft",
  "description": "Represents a contract for an insurance company that will be paying for the healthcare services.",
  "purpose": "Access: Read\r\nVisibility: public",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Coverage",
  "baseDefinition": "http://medico-emr.net/stu3/sd/Coverage-Base-1",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Coverage.id",
        "path": "Coverage.id",
        "definition": "medico: Format: CostUnit-####\r\nwhere #### is x1150cog.cog---x1150cog.no"
      },
      {
        "id": "Coverage.meta.profile",
        "path": "Coverage.meta.profile",
        "fixedUri": "http://medico-emr.net/stu3/sd/Coverage-CostUnit-1"
      },
      {
        "id": "Coverage.extension",
        "path": "Coverage.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Coverage.extension:MXT-Coverage-IsPensioner",
        "path": "Coverage.extension",
        "sliceName": "MXT-Coverage-IsPensioner",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://medico-emr.net/stu3/sd/MXT-Coverage-IsPensioner-1"
          }
        ]
      },
      {
        "id": "Coverage.identifier:medicoResourceId",
        "path": "Coverage.identifier",
        "sliceName": "medicoResourceId"
      },
      {
        "id": "Coverage.identifier:medicoResourceId.system",
        "path": "Coverage.identifier.system",
        "comment": "Dynamically resolved for validation\r\n--FixedValue=http://medico-emr.net/%KUNDE%/sid1/CostUnit"
      },
      {
        "id": "Coverage.type",
        "path": "Coverage.type",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "CoverageType"
            }
          ],
          "strength": "preferred",
          "valueSetReference": {
            "reference": "http://medico-emr.net/stu3/vs/Coverage-CostUnitTypes-1"
          }
        }
      },
      {
        "id": "Coverage.type.coding",
        "path": "Coverage.type.coding",
        "definition": "A reference to a code defined by a terminology system."
      },
      {
        "id": "Coverage.type.coding.system",
        "path": "Coverage.type.coding.system",
        "fixedUri": "http://medico-emr.net/cs1"
      },
      {
        "id": "Coverage.type.coding.code",
        "path": "Coverage.type.coding.code",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\r\nAvailable codes are\r\nPrivateInsurance\r\nPublicInsurance"
      },
      {
        "id": "Coverage.subscriberId",
        "path": "Coverage.subscriberId",
        "definition": "The insurer assigned ID for the Subscriber.\r\nmedico: insurance number from x1150cog.insno",
        "min": 1
      },
      {
        "id": "Coverage.beneficiary",
        "path": "Coverage.beneficiary",
        "max": "1"
      },
      {
        "id": "Coverage.relationship",
        "path": "Coverage.relationship",
        "definition": "The relationship of beneficiary (patient) to the subscriber.\r\nmedico: describes if the patient insured by himself or his/her parents"
      },
      {
        "id": "Coverage.relationship.coding.code",
        "path": "Coverage.relationship.coding.code",
        "definition": "self | parent\r\nmedico: source is x1150cog.mem"
      },
      {
        "id": "Coverage.payor",
        "path": "Coverage.payor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://medico-emr.net/stu3/sd/Organization-Insurance-1"
          }
        ]
      }
    ]
  }
}