FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageuk.nhsdigital.r4
Resource TypeStructureDefinition
IdNHSDigital-MedicationStatement.StructureDefinition.json
FHIR VersionR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationStatement",
  "name": "NHSDigitalMedicationStatement",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.basedOn",
        "path": "MedicationStatement.basedOn",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan",
              "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest",
              "https://fhir.nhs.uk/StructureDefinition/NHSDigital-ServiceRequest"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.medication[x]",
        "path": "MedicationStatement.medication[x]",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-CodeableConcept"
            ]
          },
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-Medication"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.subject",
        "path": "MedicationStatement.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "constraint": [
          {
            "key": "nhsd-subject",
            "severity": "error",
            "human": "focus - An identifier reference or resource reference must be provided",
            "expression": "(reference.exists() or identifier.exists())",
            "source": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationStatement"
          }
        ]
      },
      {
        "id": "MedicationStatement.subject.identifier",
        "path": "MedicationStatement.subject.identifier",
        "min": 1
      },
      {
        "id": "MedicationStatement.subject.identifier.system",
        "path": "MedicationStatement.subject.identifier.system",
        "min": 1,
        "fixedUri": "https://fhir.nhs.uk/Id/nhs-number"
      },
      {
        "id": "MedicationStatement.subject.identifier.value",
        "path": "MedicationStatement.subject.identifier.value",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource",
        "path": "MedicationStatement.informationSource",
        "type": [
          {
            "code": "Reference",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      }
    ]
  }
}