PackagesCanonicalsLogsProblems
    Packages
    package.teste@1.0.1-draft
    https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/DocumentReferencePTPS
{
  "description": "O recurso DocumentReference é usado para referenciar um documento",
  "_filename": "DocumentReferencePTPS.StructureDefinition.json",
  "package_name": "package.teste",
  "date": null,
  "derivation": "constraint",
  "publisher": "SPMS",
  "fhirVersion": "4.3.0",
  "name": "DocumentReferencePTPS",
  "useContext": [ {
    "code": {
      "code": "workflow",
      "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
      "display": "Workflow Setting"
    },
    "valueCodeableConcept": {
      "text": "Notificação de Metadados por Secção (Input)",
      "coding": [ {
        "code": "015",
        "system": "https://spms.min-saude.pt/iop/CodeSystem/r4BTechnicalSpecification",
        "display": "Notificação de Metadados por Secção"
      } ]
    }
  } ],
  "abstract": false,
  "type": "DocumentReference",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Document Reference PT PS",
  "package_version": "1.0.1-draft",
  "status": "draft",
  "id": "deaa227a-bf76-403e-b455-6fdddc741f65",
  "kind": "resource",
  "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/DocumentReferencePTPS",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "DocumentReference.masterIdentifier",
      "path": "DocumentReference.masterIdentifier",
      "definition": "Identifica o Unique Identifier.\r\nTem a função de identificar os metadados do documento que permite ligar o sistema que gera os dados com o sistema que solicita os dados."
    }, {
      "id": "DocumentReference.masterIdentifier.id",
      "max": "0",
      "path": "DocumentReference.masterIdentifier.id"
    }, {
      "id": "DocumentReference.masterIdentifier.use",
      "max": "0",
      "path": "DocumentReference.masterIdentifier.use"
    }, {
      "id": "DocumentReference.masterIdentifier.type",
      "max": "0",
      "path": "DocumentReference.masterIdentifier.type"
    }, {
      "id": "DocumentReference.masterIdentifier.system",
      "path": "DocumentReference.masterIdentifier.system",
      "definition": "Utilizar a url a seguir no system.\r\n\r\nhttp://spms.min-saude.pt//identifiers/unique-id"
    }, {
      "id": "DocumentReference.masterIdentifier.period",
      "max": "0",
      "path": "DocumentReference.masterIdentifier.period"
    }, {
      "id": "DocumentReference.identifier",
      "max": "0",
      "path": "DocumentReference.identifier",
      "definition": "Identificadores do documento anterior a última atualização."
    }, {
      "id": "DocumentReference.identifier.id",
      "max": "0",
      "path": "DocumentReference.identifier.id"
    }, {
      "id": "DocumentReference.identifier.type",
      "max": "0",
      "path": "DocumentReference.identifier.type"
    }, {
      "id": "DocumentReference.identifier.period",
      "max": "0",
      "path": "DocumentReference.identifier.period"
    }, {
      "id": "DocumentReference.docStatus",
      "max": "0",
      "path": "DocumentReference.docStatus"
    }, {
      "id": "DocumentReference.category",
      "path": "DocumentReference.category",
      "comment": "Value Set Name: Patient Summary Section",
      "definition": "Identifica uma categorização para o tipo de documento referenciado, facilitando a indexação e a pesquisa."
    }, {
      "id": "DocumentReference.subject",
      "path": "DocumentReference.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTTRV" ]
      } ],
      "definition": "Identifica a quem se refere o documento. documento pode ser relativo a pessoa (utente ou profissional de saúde), um dispositivo ou mesmo um grupo."
    }, {
      "id": "DocumentReference.author",
      "max": "0",
      "path": "DocumentReference.author",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTCore", "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTCore", "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/DevicePTCore", "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTCore", "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/RelatedPersonPTCore", "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTPS" ]
      } ]
    }, {
      "id": "DocumentReference.authenticator",
      "max": "0",
      "path": "DocumentReference.authenticator"
    }, {
      "id": "DocumentReference.custodian",
      "path": "DocumentReference.custodian",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV" ]
      } ],
      "definition": "Identifica a entidade responsável pela manutenção e acesso ao documento."
    }, {
      "id": "DocumentReference.relatesTo",
      "path": "DocumentReference.relatesTo",
      "definition": "Identifica as relações que este documento tem com outras referências do documento já existentes."
    }, {
      "id": "DocumentReference.relatesTo.code",
      "path": "DocumentReference.relatesTo.code",
      "definition": "Identifica o tipo de relação que este documento tem com outras referencias do documento.\r\n\r\n- replaces: indica a substituição do documento de destino;\r\n- transforms: indica que este documento foi gerado através da transformação do documento de destino;\r\n- signs: indica que este documento é uma assinatura do documento de destino;\r\n- appends: indica que documento adiciona informações adicionais ao documento de destino."
    }, {
      "id": "DocumentReference.relatesTo.target",
      "path": "DocumentReference.relatesTo.target",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/DocumentReferencePTPS" ]
      } ]
    }, {
      "id": "DocumentReference.securityLabel",
      "max": "0",
      "path": "DocumentReference.securityLabel"
    }, {
      "id": "DocumentReference.content.attachment.contentType",
      "max": "0",
      "path": "DocumentReference.content.attachment.contentType"
    }, {
      "id": "DocumentReference.content.attachment.language",
      "max": "0",
      "path": "DocumentReference.content.attachment.language"
    }, {
      "id": "DocumentReference.content.attachment.data",
      "max": "0",
      "path": "DocumentReference.content.attachment.data"
    }, {
      "id": "DocumentReference.content.attachment.url",
      "max": "0",
      "path": "DocumentReference.content.attachment.url",
      "definition": "url de acesso directo ao ficheiro.\r\nÉ indicado pelo Bundle do tipo document referente a pesquisa do documento \r\nurl: \"http://spms.min-saude.pt//Bundle/\""
    }, {
      "id": "DocumentReference.content.attachment.size",
      "max": "0",
      "path": "DocumentReference.content.attachment.size"
    }, {
      "id": "DocumentReference.content.attachment.hash",
      "max": "0",
      "path": "DocumentReference.content.attachment.hash"
    }, {
      "id": "DocumentReference.content.format",
      "max": "0",
      "path": "DocumentReference.content.format"
    }, {
      "id": "DocumentReference.context",
      "max": "0",
      "path": "DocumentReference.context"
    }, {
      "id": "DocumentReference.context.encounter",
      "max": "0",
      "path": "DocumentReference.context.encounter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/EncounterPTPS", "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/EpisodeOfCarePTPS" ]
      } ]
    }, {
      "id": "DocumentReference.context.period",
      "max": "0",
      "path": "DocumentReference.context.period"
    }, {
      "id": "DocumentReference.context.facilityType",
      "max": "0",
      "path": "DocumentReference.context.facilityType"
    }, {
      "id": "DocumentReference.context.practiceSetting",
      "max": "0",
      "path": "DocumentReference.context.practiceSetting"
    }, {
      "id": "DocumentReference.context.sourcePatientInfo",
      "max": "0",
      "path": "DocumentReference.context.sourcePatientInfo",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTPS" ]
      } ]
    }, {
      "id": "DocumentReference.context.related",
      "max": "0",
      "path": "DocumentReference.context.related"
    } ]
  },
  "contact": [ {
    "name": "Interoperabilidade Semântica",
    "telecom": [ {
      "value": "https://www.spms.min-saude.pt",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/DocumentReferencePTCore"
}