PackagesCanonicalsLogsProblems
    Packages
    package.teste@1.0.2-draft
    https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MedicationDispensePTCore
description: null
package_name: package.teste
derivation: constraint
name: MedicationDispensePTCore
type: MedicationDispense
elements:
  statusReasonReference: {type: Reference, choiceOf: statusReason, index: 8}
  category: {type: CodeableConcept, index: 9}
  whenHandedOver: {index: 24}
  whenPrepared: {index: 23}
  eventHistory:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Provenance', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ProvenancePTCore']
    index: 35
  meta: {type: Meta, index: 0}
  substitution:
    index: 29
    elements:
      wasSubstituted: {index: 30}
      type: {type: CodeableConcept, index: 31}
      reason: {type: CodeableConcept, index: 32}
      responsibleParty:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTCore', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTCore']
        index: 33
  detectedIssue:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/DetectedIssue', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/DetectedIssuePTCore']
    index: 34
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 12}
  type: {type: CodeableConcept, index: 20}
  statusReason:
    choices: [statusReasonCodeableConcept, statusReasonReference]
    index: 6
  note: {index: 27}
  statusReasonCodeableConcept: {type: CodeableConcept, choiceOf: statusReason, index: 7}
  supportingInformation: {index: 16}
  status: {index: 4}
  dosageInstruction: {index: 28}
  daysSupply: {index: 22}
  identifier:
    type: Identifier
    index: 1
    elements:
      type:
        elements:
          coding:
            elements:
              id: {index: 2}
  context:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/EncounterPTCore', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/EpisodeOfCarePTCore']
    index: 15
  medicationReference: {type: Reference, choiceOf: medication, index: 13}
  quantity: {index: 21}
  partOf:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Procedure', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/partOfPTCore']
    index: 3
  location:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Location', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/LocationPTCore']
    index: 18
  authorizingPrescription:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MedicationRequestPTCore']
    index: 19
  receiver:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTCore', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTCore']
    index: 26
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/GroupPTCore', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTCore']
    index: 14
  destination:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Location', 'https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/LocationPTCore']
    index: 25
  performer: {index: 17}
  medication:
    choices: [medicationCodeableConcept, medicationReference]
    index: 11
package_version: 1.0.2-draft
class: profile
kind: resource
url: https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MedicationDispensePTCore
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: 1.0.0