{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-list-problem",
  "name": "ProblemList",
  "status": "active",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List.meta",
        "path": "List.meta",
        "short": "Metadata about a resource",
        "definition": "The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
        "type": [
          {
            "code": "Meta",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-meta"
            ]
          }
        ]
      },
      {
        "id": "List.extension:context",
        "path": "List.extension",
        "sliceName": "context",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-context"
            ]
          }
        ]
      },
      {
        "id": "List.extension:statusReason",
        "path": "List.extension",
        "sliceName": "statusReason",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-statusReason"
            ]
          }
        ]
      },
      {
        "id": "List.identifier",
        "path": "List.identifier",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier"
            ]
          }
        ]
      },
      {
        "id": "List.mode",
        "path": "List.mode",
        "patternCode": "snapshot"
      },
      {
        "id": "List.title",
        "path": "List.title",
        "max": "0"
      },
      {
        "id": "List.code",
        "path": "List.code",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.synapxe.sg/ValueSet/list-codes"
        }
      },
      {
        "id": "List.code.coding.system",
        "path": "List.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "List.code.coding.code",
        "path": "List.code.coding.code",
        "patternCode": "11450-4"
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-reference-patient"
            ],
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-patient"
            ]
          }
        ]
      },
      {
        "id": "List.encounter",
        "path": "List.encounter",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-reference-encounter"
            ],
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-encounter"
            ]
          }
        ]
      },
      {
        "id": "List.date",
        "path": "List.date",
        "max": "0"
      },
      {
        "id": "List.source",
        "path": "List.source",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-reference-organization"
            ],
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-organization"
            ]
          }
        ]
      },
      {
        "id": "List.orderedBy",
        "path": "List.orderedBy",
        "max": "0"
      },
      {
        "id": "List.note",
        "path": "List.note",
        "max": "1",
        "type": [
          {
            "code": "Annotation",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-annotation"
            ]
          }
        ]
      },
      {
        "id": "List.entry",
        "path": "List.entry",
        "min": 1
      },
      {
        "id": "List.entry.id",
        "path": "List.entry.id",
        "max": "0"
      },
      {
        "id": "List.entry.extension",
        "path": "List.entry.extension",
        "max": "0"
      },
      {
        "id": "List.entry.modifierExtension",
        "path": "List.entry.modifierExtension",
        "max": "0"
      },
      {
        "id": "List.entry.flag",
        "path": "List.entry.flag",
        "max": "0"
      },
      {
        "id": "List.entry.deleted",
        "path": "List.entry.deleted",
        "max": "0"
      },
      {
        "id": "List.entry.date",
        "path": "List.entry.date",
        "max": "0"
      },
      {
        "id": "List.entry.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-problem"
            ],
            "aggregation": [
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "List.emptyReason",
        "path": "List.emptyReason",
        "max": "0"
      }
    ]
  }
}