{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Encounter-Generated",
  "name": "Encounter-Generated",
  "status": "active",
  "experimental": false,
  "description": "Profile for encounters generated from thrid party data.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Encounter",
  "baseDefinition": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter.type",
        "path": "Encounter.type",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.code"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Encounter.type:generated",
        "path": "Encounter.type",
        "sliceName": "generated",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Encounter.type:generated.coding",
        "path": "Encounter.type.coding",
        "min": 1
      },
      {
        "id": "Encounter.type:generated.coding.system",
        "path": "Encounter.type.coding.system",
        "min": 1,
        "fixedUri": "http://apiframework.dedalus.eu/fhir/CodeSystem/EncounterType"
      },
      {
        "id": "Encounter.type:generated.coding.code",
        "path": "Encounter.type.coding.code",
        "min": 1,
        "fixedCode": "GENERATED"
      }
    ]
  }
}