{
  "resourceType": "StructureDefinition",
  "language": "pt-BR",
  "url": "https://health.iasis.tech/fhir/r4/StructureDefinition/PrescricaoMedicamento-1.0",
  "version": "1.0",
  "name": "PrescricaoMedicamento",
  "title": "Prescrição de Medicamento",
  "status": "active",
  "date": "2022-10-09",
  "publisher": "IASIS",
  "description": "Registro de prescrição de medicamento",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest",
        "path": "MedicationRequest",
        "short": "Registro de prescrição de medicamento",
        "definition": "Registro de prescrição de medicamento"
      },
      {
        "id": "MedicationRequest.identifier",
        "path": "MedicationRequest.identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.status",
        "path": "MedicationRequest.status",
        "definition": "Um código que especifica o estado atual do pedido. Geralmente, este será o estado ativo ou concluído.",
        "fixedCode": "active",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.statusReason",
        "path": "MedicationRequest.statusReason",
        "max": "0"
      },
      {
        "id": "MedicationRequest.intent",
        "path": "MedicationRequest.intent",
        "definition": "Se a solicitação é uma proposta, um plano ou um pedido original.",
        "fixedCode": "proposal"
      },
      {
        "id": "MedicationRequest.category",
        "path": "MedicationRequest.category",
        "max": "0"
      },
      {
        "id": "MedicationRequest.priority",
        "path": "MedicationRequest.priority",
        "max": "0"
      },
      {
        "id": "MedicationRequest.doNotPerform",
        "path": "MedicationRequest.doNotPerform",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reported[x]",
        "path": "MedicationRequest.reported[x]",
        "max": "0"
      },
      {
        "id": "MedicationRequest.medication[x]",
        "path": "MedicationRequest.medication[x]",
        "short": "Medicação a tomar",
        "definition": "Identifica o medicamento que está sendo solicitado. Este é um link para um recurso que representa o medicamento que pode ser os detalhes do medicamento ou simplesmente um atributo que carrega um código que identifica o medicamento de uma lista conhecida de medicamentos.",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Um conceito codificado que identifica a substância ou produto que pode ser encomendado.",
          "valueSet": "https://health.iasis.tech/fhir/r4/ValueSet/Medicamentos"
        }
      },
      {
        "id": "MedicationRequest.subject",
        "path": "MedicationRequest.subject",
        "short": "A quem ou a solicitação de medicação em grupo se destina",
        "definition": "Um link para um recurso que representa a pessoa ou conjunto de indivíduos a quem o medicamento será administrado.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://health.iasis.tech/fhir/r4/StructureDefinition/Paciente-1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.subject.reference",
        "path": "MedicationRequest.subject.reference",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.type",
        "path": "MedicationRequest.subject.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.identifier",
        "path": "MedicationRequest.subject.identifier",
        "min": 1
      },
      {
        "id": "MedicationRequest.subject.identifier.use",
        "path": "MedicationRequest.subject.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.identifier.type",
        "path": "MedicationRequest.subject.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.identifier.system",
        "path": "MedicationRequest.subject.identifier.system",
        "min": 1
      },
      {
        "id": "MedicationRequest.subject.identifier.value",
        "path": "MedicationRequest.subject.identifier.value",
        "min": 1
      },
      {
        "id": "MedicationRequest.subject.identifier.period",
        "path": "MedicationRequest.subject.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.identifier.assigner",
        "path": "MedicationRequest.subject.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.display",
        "path": "MedicationRequest.subject.display",
        "max": "0"
      },
      {
        "id": "MedicationRequest.encounter",
        "path": "MedicationRequest.encounter",
        "max": "0"
      },
      {
        "id": "MedicationRequest.supportingInformation",
        "path": "MedicationRequest.supportingInformation",
        "max": "0"
      },
      {
        "id": "MedicationRequest.authoredOn",
        "path": "MedicationRequest.authoredOn",
        "max": "0"
      },
      {
        "id": "MedicationRequest.requester",
        "path": "MedicationRequest.requester",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performer",
        "path": "MedicationRequest.performer",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performerType",
        "path": "MedicationRequest.performerType",
        "max": "0"
      },
      {
        "id": "MedicationRequest.recorder",
        "path": "MedicationRequest.recorder",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonCode",
        "path": "MedicationRequest.reasonCode",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonReference",
        "path": "MedicationRequest.reasonReference",
        "max": "0"
      },
      {
        "id": "MedicationRequest.instantiatesCanonical",
        "path": "MedicationRequest.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "MedicationRequest.instantiatesUri",
        "path": "MedicationRequest.instantiatesUri",
        "max": "0"
      },
      {
        "id": "MedicationRequest.basedOn",
        "path": "MedicationRequest.basedOn",
        "max": "0"
      },
      {
        "id": "MedicationRequest.groupIdentifier",
        "path": "MedicationRequest.groupIdentifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.courseOfTherapyType",
        "path": "MedicationRequest.courseOfTherapyType",
        "max": "0"
      },
      {
        "id": "MedicationRequest.insurance",
        "path": "MedicationRequest.insurance",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note",
        "path": "MedicationRequest.note",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction",
        "path": "MedicationRequest.dosageInstruction",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest",
        "path": "MedicationRequest.dispenseRequest",
        "max": "0"
      },
      {
        "id": "MedicationRequest.substitution",
        "path": "MedicationRequest.substitution",
        "max": "0"
      },
      {
        "id": "MedicationRequest.priorPrescription",
        "path": "MedicationRequest.priorPrescription",
        "max": "0"
      },
      {
        "id": "MedicationRequest.detectedIssue",
        "path": "MedicationRequest.detectedIssue",
        "max": "0"
      },
      {
        "id": "MedicationRequest.eventHistory",
        "path": "MedicationRequest.eventHistory",
        "max": "0"
      }
    ]
  }
}