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

FHIR IG analytics

Packagenostalgic-ie.fhir.core
Resource TypeStructureDefinition
IdStructureDefinition-ie-core-patient-age-at-prescribing.json
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=nostalgic-ie.fhir.core@0.2.0&canonical=https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing
URLhttps://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing
Version0.2.0
Statusdraft
NameIECorePatientAgeAtPrescribing
TitleIE Core Patient Age at Prescribing
DescriptionHIQA EP 1.4.2 Age (cluster): the patient's age recorded on the prescription. HIQA: if the date of birth shows the patient is under 12 years, recording the age on the prescription record is a legal requirement in Ireland. Age should be entered in years, and to the nearest three months (or less) for children under two. 1.4.2.1 value and 1.4.2.2 type are Mandatory within the cluster.
TypeExtension
Kindcomplex-type

Resources that use this resource

StructureDefinition
nostalgic-ie.fhir.core#0.2.0ie-core-medicationrequest-eprescriptionIE Core MedicationRequest (ePrescription)

Resources that this resource uses

ValueSet
nostalgic-ie.fhir.core#0.2.0ie-core-age-unitsIE Core Age Units

Examples of Use for Extension

No extension usage examples found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "id": "ie-core-patient-age-at-prescribing",
  "url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing",
  "version": "0.2.0",
  "name": "IECorePatientAgeAtPrescribing",
  "title": "IE Core Patient Age at Prescribing",
  "status": "draft",
  "description": "HIQA EP 1.4.2 Age (cluster): the patient's age recorded on the prescription. HIQA: if the date of birth shows the patient is under 12 years, recording the age on the prescription record is a legal requirement in Ireland. Age should be entered in years, and to the nearest three months (or less) for children under two. 1.4.2.1 value and 1.4.2.2 type are Mandatory within the cluster.",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "MedicationRequest"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "IE Core Patient Age at Prescribing",
        "definition": "HIQA EP 1.4.2 Age (cluster): the patient's age recorded on the prescription. HIQA: if the date of birth shows the patient is under 12 years, recording the age on the prescription record is a legal requirement in Ireland. Age should be entered in years, and to the nearest three months (or less) for children under two. 1.4.2.1 value and 1.4.2.2 type are Mandatory within the cluster."
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Age"
          }
        ],
        "constraint": [
          {
            "key": "ie-age-units-1",
            "severity": "error",
            "human": "The age SHALL be in UCUM years (a), months (mo) or days (d) (HIQA EP 1.4.2.2)",
            "expression": "system = 'http://unitsofmeasure.org' and (code = 'a' or code = 'mo' or code = 'd')",
            "source": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing"
          }
        ]
      },
      {
        "id": "Extension.value[x].value",
        "path": "Extension.value[x].value",
        "comment": "HIQA EP 1.4.2.1 Age if less than 12 years – value (Mandatory 1..1).",
        "min": 1
      },
      {
        "id": "Extension.value[x].system",
        "path": "Extension.value[x].system",
        "min": 1,
        "patternUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Extension.value[x].code",
        "path": "Extension.value[x].code",
        "comment": "HIQA EP 1.4.2.2 Age if less than 12 years – type (Mandatory 1..1): years, months or days.",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-age-units"
        }
      }
    ]
  }
}