{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-reference-encounter",
  "name": "Reference",
  "status": "active",
  "fhirVersion": "5.0.0",
  "kind": "complex-type",
  "abstract": false,
  "type": "Reference",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Reference",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Reference.id",
        "path": "Reference.id",
        "max": "0"
      },
      {
        "id": "Reference.extension",
        "path": "Reference.extension",
        "max": "0"
      },
      {
        "id": "Reference.reference",
        "path": "Reference.reference",
        "max": "0"
      },
      {
        "id": "Reference.type",
        "path": "Reference.type",
        "min": 1,
        "fixedUri": "Encounter"
      },
      {
        "id": "Reference.identifier",
        "path": "Reference.identifier",
        "min": 1,
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier"
            ]
          }
        ]
      },
      {
        "id": "Reference.identifier.system",
        "path": "Reference.identifier.system",
        "fixedUri": "https://fhir.synapxe.sg/NamingSystem/event-id"
      }
    ]
  }
}