{
  "resourceType": "StructureDefinition",
  "id": "entrega-suprimentos",
  "meta": {
    "lastUpdated": "2025-09-21T03:00:00+00:00"
  },
  "language": "pt-BR",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Clinical.Request &amp; Response"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "patient"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    }
  ],
  "url": "http://www.saude.gov.br/fhir/r4/StructureDefinition/BREntregaSuprimentos",
  "version": "1.0.0",
  "name": "BREntregaSuprimentos",
  "title": "Entrega de Suprimentos",
  "status": "active",
  "date": "2025-09-21T03:00:00+00:00",
  "publisher": "Ministério da Saúde do Brasil",
  "contact": [
    {
      "name": "COPIS - Coordenação de Padrões e Interoperabilidade em Saúde",
      "telecom": [
        {
          "system": "url",
          "value": "https://webatendimento.saude.gov.br/faq/rnds"
        }
      ]
    }
  ],
  "description": "Record of delivery of what is supplied.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "SupplyDelivery",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/SupplyDelivery",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "SupplyDelivery.identifier",
        "path": "SupplyDelivery.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "SupplyDelivery.identifier.system",
        "path": "SupplyDelivery.identifier.system",
        "min": 1,
        "fixedUri": "http://www.saude.gov.br/fhir/r4/NamingSystem/BRNotaFiscal"
      },
      {
        "id": "SupplyDelivery.identifier.value",
        "path": "SupplyDelivery.identifier.value",
        "min": 1
      },
      {
        "id": "SupplyDelivery.patient",
        "path": "SupplyDelivery.patient",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "SupplyDelivery.patient.extension",
        "path": "SupplyDelivery.patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "SupplyDelivery.patient.extension:unidentifiedPatient",
        "path": "SupplyDelivery.patient.extension",
        "sliceName": "unidentifiedPatient",
        "short": "Dados do Indivíduo Não Identificado",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "SupplyDelivery.patient.extension:unidentifiedPatient.extension",
        "path": "SupplyDelivery.patient.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 4
      },
      {
        "id": "SupplyDelivery.patient.extension:unidentifiedPatient.extension:gender",
        "path": "SupplyDelivery.patient.extension.extension",
        "sliceName": "gender",
        "mustSupport": true
      },
      {
        "id": "SupplyDelivery.patient.extension:unidentifiedPatient.extension:birthYear",
        "path": "SupplyDelivery.patient.extension.extension",
        "sliceName": "birthYear",
        "mustSupport": true
      },
      {
        "id": "SupplyDelivery.patient.extension:unidentifiedPatient.extension:reason",
        "path": "SupplyDelivery.patient.extension.extension",
        "sliceName": "reason",
        "mustSupport": true
      },
      {
        "id": "SupplyDelivery.subject.extension:unidentifiedPatient.extension:operator",
        "path": "SupplyDelivery.subject.extension.extension",
        "sliceName": "operator",
        "mustSupport": true
      },
      {
        "id": "SupplyDelivery.patient.identifier.system",
        "path": "SupplyDelivery.patient.identifier.system",
        "min": 1
      },
      {
        "id": "SupplyDelivery.patient.identifier.value",
        "path": "SupplyDelivery.patient.identifier.value",
        "min": 1
      },
      {
        "id": "SupplyDelivery.suppliedItem",
        "path": "SupplyDelivery.suppliedItem",
        "min": 1
      },
      {
        "id": "SupplyDelivery.suppliedItem.item[x]",
        "path": "SupplyDelivery.suppliedItem.item[x]",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://www.saude.gov.br/fhir/r4/StructureDefinition/BROrtesesProtesesMateriais"
            ]
          }
        ]
      },
      {
        "id": "SupplyDelivery.supplier",
        "path": "SupplyDelivery.supplier",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0"
            ]
          }
        ]
      },
      {
        "id": "SupplyDelivery.supplier.identifier",
        "path": "SupplyDelivery.supplier.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "SupplyDelivery.supplier.identifier.system",
        "path": "SupplyDelivery.supplier.identifier.system",
        "min": 1,
        "fixedUri": "https://saude.gov.br/fhir/sid/cnpj"
      },
      {
        "id": "SupplyDelivery.supplier.identifier.value",
        "path": "SupplyDelivery.supplier.identifier.value",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Fornecedores de OPM",
          "valueSet": "http://www.saude.gov.br/fhir/r4/ValueSet/FornecedoresOPM"
        }
      }
    ]
  }
}