FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/ModelMedicationRecord

Packageihe-fhir-pharm-medicationrecord
TypeStructureDefinition
IdModelMedicationRecord
FHIR VersionR5
Sourcehttp://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/https://build.fhir.org/ig/IHE/pharm-medo/StructureDefinition-ModelMedicationRecord.html
URLhttp://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecord
Version0.1.0
Statusactive
Date2023-03-27T10:17:54+00:00
NameModelMedicationRecord
TitleMedication Record logical model
Realmuv
Authorityihe
DescriptionA model for a structure collection of a patient's medication history.
CopyrightIHE http://www.ihe.net/Governance/#Intellectual_Property
Typehttp://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecord
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
ModelMedicationRecordAdministration[Logical Model] - Administration
ModelMedicationRecordDispense[Logical Model] - Dispense
ModelMedicationRecordOrder[Logical Model] - Prescription
ModelMedicationRecordSummaryView[Logical Model] - Summary View
ModelMedicationRecordTreatmentMedication Record - Medication Treatment
ModelMedicationRecordTreatmentLineMedication Record Treatment Line - logical model
ModelMedicationRecordUsage[Logical Model] - Usage
ModelMedicationScheduledAdministration[Logical Model] - Scheduled Administration

Narrative

Note: links and images are rebased to the (stated) source

NameFlagsCard.TypeDescription & Constraintsdoco
.. ModelMedicationRecord 0..*BaseMedication Record logical model
... identifier 0..1IdentifierThe business identifier(s) for the Medication Record
... patient 1..1Reference()The subject of the medication record
... treatments 0..*ModelMedicationRecordTreatmentThe treaments that are included in this record
... treatmentLines 0..*ModelMedicationRecordTreatmentLineThe treatment lines that are included in this record
... summaryView 0..*ModelMedicationRecordSummaryViewThe summary views that are produced from this record or entered into it
... detailedRecords 0..*BackboneElementDetailed records
.... orders 0..*ModelMedicationRecordOrderExplicit or implicit order for medication use or changes
.... schedule 0..*ModelMedicationScheduledAdministrationScheduled administrations of the medication
.... dispenses 0..*ModelMedicationRecordDispenseRegistered or reported dispenses
.... administrations 0..*ModelMedicationRecordAdministrationRegistered or reported single administrations
.... usageReports 0..*ModelMedicationRecordUsageReported statements of medication usage
... changeRecord 0..*ProvenanceChange records and provenance for the medication record components

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "ModelMedicationRecord",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecord",
  "version": "0.1.0",
  "name": "ModelMedicationRecord",
  "title": "Medication Record logical model",
  "status": "active",
  "date": "2023-03-27T10:17:54+00:00",
  "publisher": "Integrating the Healthcare Enterprise (IHE)",
  "contact": [
    {
      "name": "Integrating the Healthcare Enterprise (IHE)",
      "telecom": [
        {
          "system": "url",
          "value": "http://ihe.net"
        },
        {
          "system": "email",
          "value": "secretary@ihe.net"
        }
      ]
    },
    {
      "name": "Jose Costa Teixeira",
      "telecom": [
        {
          "system": "email",
          "value": "jose.a.teixeira@gmail.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A model for a structure collection of a patient's medication history.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "copyright": "IHE http://www.ihe.net/Governance/#Intellectual_Property",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecord",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "ModelMedicationRecord",
        "path": "ModelMedicationRecord",
        "short": "Medication Record logical model",
        "definition": "A model for a structure collection of a patient's medication history.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.identifier",
        "path": "ModelMedicationRecord.identifier",
        "short": "The business identifier(s) for the Medication Record",
        "definition": "The business identifier(s) for the Medication Record",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ModelMedicationRecord.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.patient",
        "path": "ModelMedicationRecord.patient",
        "short": "The subject of the medication record",
        "definition": "The subject of the medication record",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ModelMedicationRecord.patient",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.treatments",
        "path": "ModelMedicationRecord.treatments",
        "short": "The treaments that are included in this record",
        "definition": "The treaments that are included in this record",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.treatments",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.treatmentLines",
        "path": "ModelMedicationRecord.treatmentLines",
        "short": "The treatment lines that are included in this record",
        "definition": "The treatment lines that are included in this record",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.treatmentLines",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatmentLine"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.summaryView",
        "path": "ModelMedicationRecord.summaryView",
        "short": "The summary views that are produced from this record or entered into it",
        "definition": "The summary views that are produced from this record or entered into it",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.summaryView",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordSummaryView"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords",
        "path": "ModelMedicationRecord.detailedRecords",
        "short": "Detailed records",
        "definition": "Detailed records - the most granular interactions",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.detailedRecords",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.id",
        "path": "ModelMedicationRecord.detailedRecords.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.extension",
        "path": "ModelMedicationRecord.detailedRecords.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.modifierExtension",
        "path": "ModelMedicationRecord.detailedRecords.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/5.0.0-snapshot3/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.orders",
        "path": "ModelMedicationRecord.detailedRecords.orders",
        "short": "Explicit or implicit order for medication use or changes",
        "definition": "Explicit or implicit order for medication use or changes",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.detailedRecords.orders",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordOrder"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.schedule",
        "path": "ModelMedicationRecord.detailedRecords.schedule",
        "short": "Scheduled administrations of the medication",
        "definition": "Scheduled administrations of the medication",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.detailedRecords.schedule",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationScheduledAdministration"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.dispenses",
        "path": "ModelMedicationRecord.detailedRecords.dispenses",
        "short": "Registered or reported dispenses",
        "definition": "Registered or reported dispenses",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.detailedRecords.dispenses",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordDispense"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.administrations",
        "path": "ModelMedicationRecord.detailedRecords.administrations",
        "short": "Registered or reported single administrations",
        "definition": "Registered or reported single administrations",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.detailedRecords.administrations",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordAdministration"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.usageReports",
        "path": "ModelMedicationRecord.detailedRecords.usageReports",
        "short": "Reported statements of medication usage",
        "definition": "Reported statements of medication usage",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.detailedRecords.usageReports",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordUsage"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.changeRecord",
        "path": "ModelMedicationRecord.changeRecord",
        "short": "Change records and provenance for the medication record components",
        "definition": "Change records and provenance for the medication record components",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ModelMedicationRecord.changeRecord",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Provenance"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "ModelMedicationRecord",
        "path": "ModelMedicationRecord",
        "short": "Medication Record logical model",
        "definition": "A model for a structure collection of a patient's medication history."
      },
      {
        "id": "ModelMedicationRecord.identifier",
        "path": "ModelMedicationRecord.identifier",
        "short": "The business identifier(s) for the Medication Record",
        "definition": "The business identifier(s) for the Medication Record",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.patient",
        "path": "ModelMedicationRecord.patient",
        "short": "The subject of the medication record",
        "definition": "The subject of the medication record",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.treatments",
        "path": "ModelMedicationRecord.treatments",
        "short": "The treaments that are included in this record",
        "definition": "The treaments that are included in this record",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.treatmentLines",
        "path": "ModelMedicationRecord.treatmentLines",
        "short": "The treatment lines that are included in this record",
        "definition": "The treatment lines that are included in this record",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatmentLine"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.summaryView",
        "path": "ModelMedicationRecord.summaryView",
        "short": "The summary views that are produced from this record or entered into it",
        "definition": "The summary views that are produced from this record or entered into it",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordSummaryView"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords",
        "path": "ModelMedicationRecord.detailedRecords",
        "short": "Detailed records",
        "definition": "Detailed records - the most granular interactions",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.orders",
        "path": "ModelMedicationRecord.detailedRecords.orders",
        "short": "Explicit or implicit order for medication use or changes",
        "definition": "Explicit or implicit order for medication use or changes",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordOrder"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.schedule",
        "path": "ModelMedicationRecord.detailedRecords.schedule",
        "short": "Scheduled administrations of the medication",
        "definition": "Scheduled administrations of the medication",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationScheduledAdministration"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.dispenses",
        "path": "ModelMedicationRecord.detailedRecords.dispenses",
        "short": "Registered or reported dispenses",
        "definition": "Registered or reported dispenses",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordDispense"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.administrations",
        "path": "ModelMedicationRecord.detailedRecords.administrations",
        "short": "Registered or reported single administrations",
        "definition": "Registered or reported single administrations",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordAdministration"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.detailedRecords.usageReports",
        "path": "ModelMedicationRecord.detailedRecords.usageReports",
        "short": "Reported statements of medication usage",
        "definition": "Reported statements of medication usage",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordUsage"
          }
        ]
      },
      {
        "id": "ModelMedicationRecord.changeRecord",
        "path": "ModelMedicationRecord.changeRecord",
        "short": "Change records and provenance for the medication record components",
        "definition": "Change records and provenance for the medication record components",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Provenance"
          }
        ]
      }
    ]
  }
}