Egresos Hospitalarios

Aquí se presentan todos los recursos que se utilizaron para mapear la información de los egresos hospitalarios.

  1. Definición de estructura para los datos de los egresos hospitalarios, aqui se definen principalmente los campos utilizados del recurso DiagnosticReport de HL7 FHIR. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/diagnosticreportegresoshospapimin.

coding
subjectReference(Patient_apimin)
contextReference(EpisodeOfCare_egresosHosp_apimin)
code
display
text

  1. Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/patientapimin.

system
valueS
birthDateS

  1. Definición de estructura para los datos del establecimiento. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/organizationapimin.

systemS
valueS
nameS

  1. Definición de estructura para los datos de las condiciones crónicas. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/conditionegresoshospapimin.

textS

Búsquedas

Parámetros de Búsqueda Egresos Hospitalarios

Nombre Tipo Descripción Expresión Ejemplo
subject token Utilizado como el rut del paciente sin dígito verificador DiagnosticReport.subject subject.identifier=1111111
_tag token Utilizado como parametro identificador de esquema de datos por minsal _tag _tag=egresosHospitalarios
date date Fecha de egreso en formato YYYY-MM-DD DiagnosticReport.context:EpisodeOfCare.period.end date=ge2018-10-12
date=lt2018-10-12
date=2018-10-12
code token Selección de tipo de egreso(intento de suicidio, condición crónica) DiagnosticReport.code code=condicionesCronicas
code=intentosSuicidio

Prefijos implementados para búsquedas por fecha

Expresión Definición Ejemplo Significado
ge Mayor o Igual que ge2018-10-12 Resultados con fecha posterior o igual a 2018-10-12
lt Menor que lt2018-10-12 Resultados con fecha anterior a 2018-10-12

Referencia: Documentación completa en FHIR

Ejemplos de búsqueda

  • Búsqueda solo por rut
    GET [base]/DiagnosticReport?subject.identifier=10533196&_tag=egresosHospitalarios
    
  • Búsqueda por rut y rango de fechas
    GET [base]/DiagnosticReport?subject.identifier=10533196&_tag=egresosHospitalarios&date=ge2017-06-13&date=lt2017-06-14
    
  • Búsqueda de condiciones crónicas por rut
    GET [base]/DiagnosticReport?_tag=egresosHospitalarios&subject.identifier=5683807&code=condicionesCronicas
    
  • Búsqueda de intentos de suicidio por rut
    GET [base]/DiagnosticReport?_tag=egresosHospitalarios&subject.identifier=5683807&code=intentosSuicidio
    
  • Búsqueda de condiciones crónicas por rut y fecha
    GET [base]/DiagnosticReport?_tag=egresosHospitalarios&subject.identifier=5683807&code=condicionesCronicas&date=ge2017-06-14&date=lt2017-06-14
    
  • Búsqueda de intentos de suicidio por rut y fecha
    GET [base]/DiagnosticReport?_tag=egresosHospitalarios&subject.identifier=5683807&code=intentosSuicidio&date=ge2017-06-14&date=lt2017-06-14
    

Ejemplo de response

{
  "resourceType": "Bundle",
  "id": "85427088-c905-4aae-aa73-7abd337adb68",
  "meta": {
    "lastUpdated": "2018-08-12T21:39:19.617-03:00"
  },
  "type": "searchset",
  "total": 1,
  "link": [
    {
      "relation": "self",
      "url": "http://localhost:8080/hospital-digital-fhir-server/fhir/DiagnosticReport?_format=html%2Fjson&_tag=egresosHospitalarios&subject.identifier=16568367"
    }
  ],
  "entry": [
    {
      "fullUrl": "http://localhost:8080/hospital-digital-fhir-server/fhir/DiagnosticReport/14768701",
      "resource": {
        "resourceType": "DiagnosticReport",
        "id": "14768701",
        "contained": [
          {
            "resourceType": "Organization",
            "id": "o1",
            "identifier": [
              {
                "system": "http://www.deis.cl",
                "value": "111295"
              }
            ]
          },
          {
            "resourceType": "Patient",
            "id": "p1",
            "identifier": [
              {
                "system": "https://www.srcei.cl/RUT",
                "value": "16568367"
              }
            ]
          },
          {
            "resourceType": "EpisodeOfCare",
            "id": "ep14768701",
            "diagnosis": [
              {
                "condition": {
                  "reference": "#con14768701"
                }
              }
            ],
            "managingOrganization": {
              "reference": "#o1"
            },
            "period": {
              "start": "2017-04-06T00:00:00-03:00",
              "end": "2017-04-06T00:00:00-03:00"
            }
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://browser.ihtsdotools.org",
              "code": " 89100005",
              "display": "diagnóstico final (egreso)"
            }
          ]
        },
        "subject": {
          "reference": "#p1"
        },
        "context": {
          "reference": "#ep14768701"
        },
        "codedDiagnosis": [
          {
            "coding": [
              {
                "code": "M257",
                "display": "OSTEOFITO"
              }
            ],
            "text": "Diagnostico Principal"
          },
          {
            "text": "Causa Externa"
          }
        ]
      }
    }
  ]
}

Dicccionario de Datos

Diccionario de DiagnosticReport

DiagnosticReport
DefinitionThe findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports.
Cardinality0...*
AliasReport, Test, Result, Results, Labs, Laboratory
Comments

This is intended to capture a single report, and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.

Invariants
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
    contained.text.empty()
  • dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
  • dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
    contained.where(('#'+id in %resource.descendants().reference).not()).empty()
Mappings
  • rim: Entity. Role, or Act
  • workflow: Event
  • v2: ORU -> OBR
  • rim: Observation[classCode=OBS, moodCode=EVN]
  • w5: clinical.diagnostics
DiagnosticReport.id
DefinitionThe logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Cardinality0...1
Typeid
SummaryTrue
Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
DiagnosticReport.meta
DefinitionThe metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
Cardinality0...1
TypeMeta
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.implicitRules
DefinitionA reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
Cardinality0...1
Typeuri
ModifierTrue
SummaryTrue
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element.

This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
DiagnosticReport.language
DefinitionThe base language in which the resource is written.
Cardinality0...1
Typecode
Binding
A human language.
?? (extensible)
Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
DiagnosticReport.text
DefinitionA human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
Cardinality0...1
TypeNarrative
Aliasnarrative, html, xhtml, display
Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • rim: Act.text?
DiagnosticReport.contained
DefinitionThese resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
Cardinality0...*
TypeResource
Aliasinline resources, anonymous resources, contained resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.

Mappings
  • rim: Entity. Role, or Act
  • rim: N/A
DiagnosticReport.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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.
Cardinality0...*
TypeExtension
ModifierTrue
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.identifier
DefinitionIdentifiers assigned to this report by the performer or other systems.
Cardinality0...*
TypeIdentifier
SummaryTrue
AliasReportID, Filler ID, Placer ID
Requirements

Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.

Comments

Usually assigned by the Information System of the diagnostic service provider (filler id).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • workflow: Event.identifier
  • v2: OBR-51
  • rim: id
  • w5: id
DiagnosticReport.basedOn
DefinitionDetails concerning a test or procedure requested.
Cardinality0...*
TypeReference(http://hl7.org/fhir/StructureDefinition/CarePlan | http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation | http://hl7.org/fhir/StructureDefinition/MedicationRequest | http://hl7.org/fhir/StructureDefinition/NutritionOrder | http://hl7.org/fhir/StructureDefinition/ProcedureRequest | http://hl7.org/fhir/StructureDefinition/ReferralRequest)
AliasRequest
Requirements

This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.

Comments

Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • workflow: Event.basedOn
  • v2: ORC? OBR-2/3?
  • rim: outboundRelationship[typeCode=FLFS].target
DiagnosticReport.status
DefinitionThe status of the diagnostic report as a whole.
Cardinality1...1
Typecode
Binding
The status of the diagnostic report as a whole.
?? (required)
ModifierTrue
SummaryTrue
Requirements

Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.

Comments

This is labeled as "Is Modifier" because applications need to take appropriate action if a report is withdrawn.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Event.status
  • v2: OBR-25 (not 1:1 mapping)
  • rim: statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type "revise"
  • w5: status
DiagnosticReport.category
DefinitionA code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.
Cardinality0...1
TypeCodeableConcept
Binding
Codes for diagnostic service sections.
?? (example)
SummaryTrue
AliasDepartment, Sub-department, Service, Discipline
Comments

The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: OBR-24
  • rim: inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code
  • w5: class
DiagnosticReport.code
DefinitionA code or name that describes this diagnostic report.
Cardinality1...1
TypeCodeableConcept
Binding
Codes that describe Diagnostic Reports.
?? (preferred)
SummaryTrue
AliasType
Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Event.code
  • v2: OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)
  • rim: code
  • w5: what
DiagnosticReport.code.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
DiagnosticReport.code.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.code.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
SummaryTrue
Requirements

Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
  • api-minsal: intento_suicidio o cond_cronica
DiagnosticReport.code.text
DefinitionA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
Cardinality0...1
Typestring
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
DiagnosticReport.subject
DefinitionA quien hace referencia el reporte. Usualmente es a un paciente, pero no siempre es así.
Cardinality0...1
TypeReference(Patient_apimin)
SummaryTrue
AliasPatient
Requirements

SHALL know the subject context.

Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • workflow: Event.subject
  • v2: PID-3 (no HL7 v2 mapping for Group or Device)
  • rim: participation[typeCode=SBJ]
  • w5: who.focus
DiagnosticReport.context
DefinitionThe healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport per is about.
Cardinality0...1
TypeReference(EpisodeOfCare_egresosHosp_apimin)
SummaryTrue
AliasEncounter
Requirements

Links the request to the Encounter context.

Comments

This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter or episode but still be tied to the context of the encounter or episode (e.g. pre-admission lab tests).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • workflow: Event.context
  • v2: PV1-19
  • rim: inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
  • w5: context
DiagnosticReport.effective[x]
DefinitionThe time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.
Cardinality0...1
TypedateTime, Period
SummaryTrue
AliasObservation time, Effective Time, Occurrence
Requirements

Need to know where in the patient history to file/present this report.

Comments

If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Event.occurrence[x]
  • v2: OBR-7
  • rim: effectiveTime
  • w5: when.done
DiagnosticReport.issued
DefinitionThe date and time that this version of the report was released from the source diagnostic service.
Cardinality0...1
Typeinstant
SummaryTrue
AliasDate Created, Date published, Date Issued
Requirements

Clinicians need to be able to check the date that the report was released.

Comments

May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: OBR-22
  • rim: participation[typeCode=VRF or AUT].time
  • w5: when.recorded
DiagnosticReport.performer
DefinitionIndicates who or what participated in producing the report.
Cardinality0...*
TypeBackboneElement
SummaryTrue
AliasLaboratory, Service, Practitioner, Department, Company
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Event.performer
  • v2: PRT-8 (where this PRT-4-Participation = "PO")
  • rim: .participation[typeCode=PRF]
  • w5: who.witness
DiagnosticReport.performer.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
DiagnosticReport.performer.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.performer.modifierExtension
DefinitionMay 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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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.
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.performer.role
DefinitionDescribes the type of participation (e.g. a responsible party, author, or verifier).
Cardinality0...1
TypeCodeableConcept
Binding
Indicate a role of diagnostic report performer
?? (example)
SummaryTrue
Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Event.performer.role
  • v2: PRT-8 (where this PRT-4-Participation = "PO")
  • rim: .functionCode
DiagnosticReport.performer.actor
DefinitionThe reference to the practitioner or organization involved in producing the report. For example, the diagnostic service that is responsible for issuing the report.
Cardinality1...1
TypeReference(http://hl7.org/fhir/StructureDefinition/Practitioner | http://hl7.org/fhir/StructureDefinition/Organization)
SummaryTrue
Requirements

Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.

Comments

This is not necessarily the source of the atomic data items. It is the entity that takes responsibility for the clinical report.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • workflow: Event.performer.actor
  • v2: PRT-8 (where this PRT-4-Participation = "PO")
  • rim: .role
DiagnosticReport.specimen
DefinitionDetails about the specimens on which this diagnostic report is based.
Cardinality0...*
TypeReference(http://hl7.org/fhir/StructureDefinition/Specimen)
Requirements

Need to be able to report information about the collected specimens on which the report is based.

Comments

If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • v2: SPM
  • rim: participation[typeCode=SBJ]
DiagnosticReport.result
DefinitionObservations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. "atomic" results), or they can be grouping observations that include references to other members of the group (e.g. "panels").
Cardinality0...*
TypeReference(http://hl7.org/fhir/StructureDefinition/Observation)
AliasData, Atomic Value, Result, Atomic result, Data, Test, Analyte, Battery, Organizer
Requirements

Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.

Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • v2: OBXs
  • rim: outboundRelationship[typeCode=COMP].target
DiagnosticReport.imagingStudy
DefinitionOne or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.
Cardinality0...*
TypeReference(http://hl7.org/fhir/StructureDefinition/ImagingStudy | http://hl7.org/fhir/StructureDefinition/ImagingManifest)
Comments

ImagingStudy and ImageManifest and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • rim: outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]
DiagnosticReport.image
DefinitionA list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).
Cardinality0...*
TypeBackboneElement
SummaryTrue
AliasDICOM, Slides, Scans
Requirements

Many diagnostic services include images in the report as part of their service.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: OBX?
  • rim: outboundRelationship[typeCode=COMP].target
DiagnosticReport.image.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
DiagnosticReport.image.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.image.modifierExtension
DefinitionMay 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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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.
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.image.comment
DefinitionA comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.
Cardinality0...1
Typestring
Requirements

The provider of the report should make a comment about each image included in the report.

Comments

The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="annotation"].value
DiagnosticReport.image.link
DefinitionReference to the image source.
Cardinality1...1
TypeReference(http://hl7.org/fhir/StructureDefinition/Media)
SummaryTrue
Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • rim: .value.reference
DiagnosticReport.conclusion
DefinitionConcise and clinically contextualized impression / summary of the diagnostic report.
Cardinality0...1
Typestring
AliasReport
Requirements

Need to be able to provide a conclusion that is not lost among the basic result data.

Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: OBX
  • rim: inboundRelationship[typeCode="SPRT"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)
DiagnosticReport.codedDiagnosis
DefinitionCodes for the conclusion.
Cardinality0...*
TypeCodeableConcept
Binding
Diagnosis codes provided as adjuncts to the report.
?? (example)
Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: OBX
  • rim: inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)
DiagnosticReport.codedDiagnosis.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
DiagnosticReport.codedDiagnosis.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.codedDiagnosis.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
SummaryTrue
Requirements

Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
DiagnosticReport.codedDiagnosis.coding.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
DiagnosticReport.codedDiagnosis.coding.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
DiagnosticReport.codedDiagnosis.coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
DiagnosticReport.codedDiagnosis.coding.version
DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
Cardinality0...1
Typestring
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
DiagnosticReport.codedDiagnosis.coding.code
DefinitionAquí se ingresa el valor del código del diagnostico.
Cardinality0...1
Typecode
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • api-minsal: diag1 o diag2
DiagnosticReport.codedDiagnosis.coding.display
DefinitionNombre completo del código de diagnostico.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
DiagnosticReport.codedDiagnosis.coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
DiagnosticReport.codedDiagnosis.text
DefinitionTexto donde si indica si el código de diagnostico es él "Diagnostico Principal" o una "Causa Externa"
Cardinality0...1
Typestring
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • api-minsal: Tdiag1 o Tdiag2
DiagnosticReport.presentedForm
DefinitionRich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
Cardinality0...*
TypeAttachment
Requirements

Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.

Comments

"application/pdf" is recommended as the most reliable and interoperable in this context.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • att-1: It the Attachment has data, it SHALL have a contentType
    data.empty() or contentType.exists()
Mappings
  • rim: n/a
  • v2: ED/RP
  • rim: ED
  • v2: OBX
  • rim: text (type=ED)

Diccionario de Patient

Patient
DefinitionDemographics and other administrative information about an individual or animal receiving care or other health-related services.
Cardinality0...*
AliasSubjectOfCare Client Resident
Invariants
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
    contained.text.empty()
  • dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
  • dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
    contained.where(('#'+id in %resource.descendants().reference).not()).empty()
Mappings
  • rim: Entity. Role, or Act
  • rim: Patient[classCode=PAT]
  • cda: ClinicalDocument.recordTarget.patientRole
  • w5: administrative.individual
Patient.id
DefinitionThe logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Cardinality0...1
Typeid
SummaryTrue
Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
Patient.meta
DefinitionThe metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
Cardinality0...1
TypeMeta
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Patient.implicitRules
DefinitionA reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
Cardinality0...1
Typeuri
ModifierTrue
SummaryTrue
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element.

This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
Patient.language
DefinitionThe base language in which the resource is written.
Cardinality0...1
Typecode
Binding
A human language.
?? (extensible)
Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
Patient.text
DefinitionA human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
Cardinality0...1
TypeNarrative
Aliasnarrative, html, xhtml, display
Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • rim: Act.text?
Patient.contained
DefinitionThese resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
Cardinality0...*
TypeResource
Aliasinline resources, anonymous resources, contained resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.

Mappings
  • rim: Entity. Role, or Act
  • rim: N/A
Patient.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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.
Cardinality0...*
TypeExtension
ModifierTrue
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.identifier
DefinitionCuando el paciente tenga un identifier con system "https://www.srcei.cl/RUT", se asume que tiene rut.
Cardinality1...*
TypeIdentifier
Must SupportTrue
SummaryTrue
Requirements

Patients are almost always assigned specific numerical identifiers.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • v2: PID-3
  • rim: id
  • cda: .id
  • w5: id
  • api-minsal: definición RUT
Patient.identifier.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
Patient.identifier.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.identifier.use
DefinitionThe purpose of this identifier.
Cardinality0...1
Typecode
Binding
Identifies the purpose for this identifier, if known .
?? (required)
ModifierTrue
SummaryTrue
Requirements

Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

Comments

This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: Role.code or implied by context
Patient.identifier.type
DefinitionA coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
Cardinality0...1
TypeCodeableConcept
Binding
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
?? (extensible)
SummaryTrue
Requirements

Allows users to make use of identifiers when the identifier system is not known.

Comments

This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.

Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: CX.5
  • rim: Role.code or implied by context
Patient.identifier.system
DefinitionAquí se define el sistema encargado de entregar el valor del identificador del paciente.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

Comments

see http://en.wikipedia.org/wiki/Uniform_resource_identifier

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Examples
General

http://www.acme.com/identifiers/patient


Mappings
  • rim: n/a
  • v2: CX.4 / EI-2-4
  • rim: II.root or Role.id.root
  • servd: ./IdentifierType
Patient.identifier.value
DefinitionAqui se guarda el valor del identificador unico.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Examples
General

123456


Mappings
  • rim: n/a
  • v2: CX.1 / EI.1
  • rim: II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
  • servd: ./Value
  • api-minsal: RUN o RUNM
Patient.identifier.period
DefinitionTime period during which identifier is/was valid for use.
Cardinality0...1
TypePeriod
SummaryTrue
Comments

This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). If duration is required, specify the type as Interval|Duration.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • per-1: If present, start SHALL have a lower value than end
    start.empty() or end.empty() or (start <= end)
Mappings
  • rim: n/a
  • v2: DR
  • rim: IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
  • v2: CX.7 + CX.8
  • rim: Role.effectiveTime or implied by context
  • servd: ./StartDate and ./EndDate
Patient.identifier.assigner
DefinitionOrganization that issued/manages the identifier.
Cardinality0...1
TypeReference(http://hl7.org/fhir/StructureDefinition/Organization)
SummaryTrue
Comments

The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • v2: CX.4 / (CX.4,CX.9,CX.10)
  • rim: II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • servd: ./IdentifierIssuingAuthority
Patient.active
DefinitionWhether this patient record is in active use.
Cardinality0...1
Typeboolean
ModifierTrue
SummaryTrue
Requirements

Need to be able to mark a patient record as not to be used because it was created in error.

Comments

Default is true. If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient

This element is labeled as a modifier because when the patient record is marked as not active it is not expected to be used/referenced without being changed back to active.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: statusCode
  • cda: n/a
  • w5: status
Patient.name
DefinitionA name associated with the individual.
Cardinality0...*
TypeHumanName
SummaryTrue
Requirements

Need to be able to track the patient by multiple names. Examples are your official name and a partner name.

Comments

A patient may have multiple names with different uses or applicable periods. For animals, the name is a "HumanName" in the sense that is assigned and used by humans and has the same patterns.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: XPN
  • rim: EN (actually, PN)
  • servd: ProviderName
  • v2: PID-5, PID-9
  • rim: name
  • cda: .patient.name
Patient.telecom
DefinitionA contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.
Cardinality0...*
TypeContactPoint
SummaryTrue
Requirements

People have (primary) ways to contact them in some way such as phone, email.

Comments

A Patient may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and also to help with identification. The address may not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • cpt-2: A system is required if a value is provided.
    value.empty() or system.exists()
Mappings
  • rim: n/a
  • v2: XTN
  • rim: TEL
  • servd: ContactPoint
  • v2: PID-13, PID-14, PID-40
  • rim: telecom
  • cda: .telecom
Patient.gender
DefinitionAdministrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
Cardinality0...1
Typecode
Binding
The gender of a person used for administrative purposes.
?? (required)
SummaryTrue
Requirements

Needed for identification of the individual, in combination with (at least) name and birth date. Gender of individual drives many clinical processes.

Comments

The gender may not match the biological sex as determined by genetics, or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than M and F, though the vast majority of systems and contexts only support M and F. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific gender aspect of interest (anatomical, chromosonal, social, etc.) However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice. Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosonal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overrideable error, not a "hard" error.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: PID-8
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
  • cda: .patient.administrativeGenderCode
Patient.birthDate
DefinitionFecha de nacimiento de un paciente.
Cardinality0...1
Typedate
Must SupportTrue
SummaryTrue
Requirements

Age of the individual drives many clinical processes.

Comments

At least an estimated year should be provided as a guess if the real DOB is unknown There is a standard extension "patient-birthTime" available that should be used where Time is required (such as in maternaty/infant care systems).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: PID-7
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime
  • cda: .patient.birthTime
  • loinc: 21112-8
  • api-minsal: FECHA_NAC o CANAGNO_MADRE
Patient.deceased[x]
DefinitionIndicates if the individual is deceased or not.
Cardinality0...1
Typeboolean, dateTime
ModifierTrue
SummaryTrue
Requirements

The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.

Comments

If there's no value in the instance it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.

This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: PID-30 (bool) and PID-29 (datetime)
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime
  • cda: n/a
Patient.address
DefinitionAddresses for the individual.
Cardinality0...*
TypeAddress
SummaryTrue
Requirements

May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.

Comments

Patient may have multiple addresses with different uses or applicable periods.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: XAD
  • rim: AD
  • servd: Address
  • v2: PID-11
  • rim: addr
  • cda: .addr
Patient.maritalStatus
DefinitionThis field contains a patient's most recent marital (civil) status.
Cardinality0...1
TypeCodeableConcept
Binding
The domestic partnership status of a person.
?? (extensible)
Requirements

Most, if not all systems capture it.

Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: PID-16
  • rim: player[classCode=PSN]/maritalStatusCode
  • cda: .patient.maritalStatusCode
Patient.multipleBirth[x]
DefinitionIndicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).
Cardinality0...1
Typeboolean, integer
Requirements

For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.

Comments

Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in tripplets would be valueInteger=2 and the third born would have valueInteger=3 If a bool value was provided for this tripplets examle, then all 3 patient records would have valueBool=true (the ordering is not indicated).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: PID-24 (bool), PID-25 (integer)
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber
  • cda: n/a
Patient.photo
DefinitionImage of the patient.
Cardinality0...*
TypeAttachment
Requirements

Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.

Comments

When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as "Attachment".

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • att-1: It the Attachment has data, it SHALL have a contentType
    data.empty() or contentType.exists()
Mappings
  • rim: n/a
  • v2: ED/RP
  • rim: ED
  • v2: OBX-5 - needs a profile
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc
  • cda: n/a
Patient.contact
DefinitionA contact party (e.g. guardian, partner, friend) for the patient.
Cardinality0...*
TypeBackboneElement
Requirements

Need to track people you can contact about the patient.

Comments

Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • pat-1: SHALL at least contain a contact's details or a reference to an organization
    name.exists() or telecom.exists() or address.exists() or organization.exists()
Mappings
  • rim: n/a
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]
  • cda: n/a
Patient.contact.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
Patient.contact.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.contact.modifierExtension
DefinitionMay 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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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.
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.contact.relationship
DefinitionThe nature of the relationship between the patient and the contact person.
Cardinality0...*
TypeCodeableConcept
Binding
The nature of the relationship between a patient and a contact person for that patient.
?? (extensible)
Requirements

Used to determine which contact person is the most relevant to approach, depending on circumstances.

Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: NK1-7, NK1-3
  • rim: code
  • cda: n/a
Patient.contact.name
DefinitionA name associated with the contact person.
Cardinality0...1
TypeHumanName
Requirements

Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.

Comments

Names may be changed, or repudiated, or people may have different names in different contexts. Names may be divided into parts of different type that have variable significance depending on context, though the division into parts does not always matter. With personal names, the different parts may or may not be imbued with some implicit meaning; various cultures associate different importance with the name parts and the degree to which systems must care about name parts around the world varies widely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: XPN
  • rim: EN (actually, PN)
  • servd: ProviderName
  • v2: NK1-2
  • rim: name
  • cda: n/a
Patient.contact.telecom
DefinitionA contact detail for the person, e.g. a telephone number or an email address.
Cardinality0...*
TypeContactPoint
Requirements

People have (primary) ways to contact them in some way such as phone, email.

Comments

Contact may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently, and also to help with identification.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • cpt-2: A system is required if a value is provided.
    value.empty() or system.exists()
Mappings
  • rim: n/a
  • v2: XTN
  • rim: TEL
  • servd: ContactPoint
  • v2: NK1-5, NK1-6, NK1-40
  • rim: telecom
  • cda: n/a
Patient.contact.address
DefinitionAddress for the contact person.
Cardinality0...1
TypeAddress
Requirements

Need to keep track where the contact person can be contacted per postal mail or visited.

Comments

Note: address is for postal addresses, not physical locations.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: XAD
  • rim: AD
  • servd: Address
  • v2: NK1-4
  • rim: addr
  • cda: n/a
Patient.contact.gender
DefinitionAdministrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.
Cardinality0...1
Typecode
Binding
The gender of a person used for administrative purposes.
?? (required)
Requirements

Needed to address the person correctly.

Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: NK1-15
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
  • cda: n/a
Patient.contact.organization
DefinitionOrganization on behalf of which the contact is acting or for which the contact is working.
Cardinality0...1
TypeReference(http://hl7.org/fhir/StructureDefinition/Organization)
Requirements

For guardians or business related contacts, the organization is relevant.

Comments

References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • v2: NK1-13, NK1-30, NK1-31, NK1-32, NK1-41
  • rim: scoper
  • cda: n/a
Patient.contact.period
DefinitionThe period during which this contact person or organization is valid to be contacted relating to this patient.
Cardinality0...1
TypePeriod
Comments

This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). If duration is required, specify the type as Interval|Duration.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • per-1: If present, start SHALL have a lower value than end
    start.empty() or end.empty() or (start <= end)
Mappings
  • rim: n/a
  • v2: DR
  • rim: IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
  • rim: effectiveTime
  • cda: n/a
Patient.animal
DefinitionThis patient is known to be an animal.
Cardinality0...1
TypeBackboneElement
ModifierTrue
SummaryTrue
Requirements

Many clinical systems are extended to care for animal patients as well as human.

Comments

The animal element is labeled "Is Modifier" since patients may be non-human. Systems SHALL either handle patient details appropriately (e.g. inform users patient is not human) or reject declared animal records. The absense of the animal element does not imply that the patient is a human. If a system requires such a positive assertion that the patient is human, an extension will be required. (Do not use a species of homo-sapiens in animal species, as this would incorrectly infer that the patient is an animal).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: player[classCode=ANM]
  • cda: n/a
Patient.animal.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
Patient.animal.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.animal.modifierExtension
DefinitionMay 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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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.
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.animal.species
DefinitionIdentifies the high level taxonomic categorization of the kind of animal.
Cardinality1...1
TypeCodeableConcept
Binding
The species of an animal.
?? (example)
SummaryTrue
Requirements

Need to know what kind of animal.

Comments

If the patient is non-human, at least a species SHALL be specified. Species SHALL be a widely recognised taxonomic classification. It may or may not be Linnaean taxonomy and may or may not be at the level of species. If the level is finer than species--such as a breed code--the code system used SHALL allow inference of the species. (The common example is that the word "Hereford" does not allow inference of the species Bos taurus, because there is a Hereford pig breed, but the SNOMED CT code for "Hereford Cattle Breed" does.).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: PID-35
  • rim: code
  • cda: n/a
Patient.animal.breed
DefinitionIdentifies the detailed categorization of the kind of animal.
Cardinality0...1
TypeCodeableConcept
Binding
The breed of an animal.
?? (example)
SummaryTrue
Requirements

May need to know the specific kind within the species.

Comments

Breed MAY be used to provide further taxonomic or non-taxonomic classification. It may involve local or proprietary designation--such as commercial strain--and/or additional information such as production type.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: PID-37
  • rim: playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code
  • cda: n/a
Patient.animal.genderStatus
DefinitionIndicates the current state of the animal's reproductive organs.
Cardinality0...1
TypeCodeableConcept
Binding
The state of the animal's reproductive organs.
?? (example)
SummaryTrue
Requirements

Gender status can affect housing and animal behavior.

Comments

Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: N/A
  • rim: genderStatusCode
  • cda: n/a
Patient.communication
DefinitionLanguages which may be used to communicate with the patient about his or her health.
Cardinality0...*
TypeBackboneElement
Requirements

If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency is an important things to keep track of both for patient and other persons of interest.

Comments

If no language is specified, this implies that the default local language is spoken. If you need to convey proficiency for multiple modes then you need multiple Patient.Communication associations. For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: LanguageCommunication
  • cda: patient.languageCommunication
Patient.communication.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
Patient.communication.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.communication.modifierExtension
DefinitionMay 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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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.
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.communication.language
DefinitionThe ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. "en" for English, or "en-US" for American English versus "en-EN" for England English.
Cardinality1...1
TypeCodeableConcept
Binding
A human language.
?? (extensible)
Requirements

Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.

Comments

The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • v2: PID-15, LAN-2
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code
  • cda: .languageCode
Patient.communication.preferred
DefinitionIndicates whether or not the patient prefers this language (over other languages he masters up a certain level).
Cardinality0...1
Typeboolean
Requirements

People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.

Comments

This language is specifically identified for communicating healthcare information.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: PID-15
  • rim: preferenceInd
  • cda: .preferenceInd
Patient.generalPractitioner
DefinitionPatient's nominated care provider.
Cardinality0...*
TypeReference(http://hl7.org/fhir/StructureDefinition/Organization | http://hl7.org/fhir/StructureDefinition/Practitioner)
AliascareProvider
Comments

This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disablity setting, or even organization that will provide people to perform the care provider roles.

It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • v2: PD1-4
  • rim: subjectOf.CareEvent.performer.AssignedEntity
  • cda: n/a
Patient.managingOrganization
DefinitionOrganization that is the custodian of the patient record.
Cardinality0...1
TypeReference(http://hl7.org/fhir/StructureDefinition/Organization)
SummaryTrue
Requirements

Need to know who recognizes this patient record, manages and updates it.

Comments

There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • rim: scoper
  • cda: .providerOrganization
Patient.link
DefinitionLink to another patient resource that concerns the same actual patient.
Cardinality0...*
TypeBackboneElement
ModifierTrue
SummaryTrue
Requirements

There are multiple usecases:

  • Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and * Distribution of patient information across multiple servers.
Comments

There is no assumption that linked patient records have mutual links.

This element is labelled as a modifier because it may not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: outboundLink
  • cda: n/a
Patient.link.id
Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
Patient.link.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.link.modifierExtension
DefinitionMay 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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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.
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Patient.link.other
DefinitionThe other patient resource that the link refers to.
Cardinality1...1
TypeReference(http://hl7.org/fhir/StructureDefinition/Patient | http://hl7.org/fhir/StructureDefinition/RelatedPerson)
SummaryTrue
Comments

Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • ref-1: SHALL have a contained resource if a local reference is provided
    reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))
Mappings
  • rim: n/a
  • rim: The target of a resource reference is a RIM entry point (Act, Role, or Entity)
  • v2: PID-3, MRG-1
  • rim: id
  • cda: n/a
Patient.link.type
DefinitionThe type of link between this patient resource and another patient resource.
Cardinality1...1
Typecode
Binding
The type of link between this patient resource and another patient resource.
?? (required)
SummaryTrue
Comments

Note that FHIR strings may not exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: typeCode
  • cda: n/a

Intervenciones Quirurgicas

Aquí se presentan todos los recursos que se utilizaron para mapear la información de las intervenciones quirurgicas.

  1. Definición de estructura para los datos de las intervenciones quirurgicas, aqui se definen principalmente los campos utilizados del recurso DiagnosticReport de HL7 FHIR. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/diagnosticreportinterQuiapimin.

subjectReference(Patient_apimin)
code
display
text

  1. Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/patientapimin.

system
valueS
birthDateS

Búsquedas

Parámetros de Búsqueda Intervenciones Quirúrgicas

Nombre Tipo Descripción Expresión Ejemplo
subject token Utilizado como el rut del paciente sin dígito verificador DiagnosticReport.subject subject.identifier=1111111
_tag token Utilizado como parametro identificador de esquema de datos por minsal _tag _tag=intervencionesQuirurgicas

Ejemplos de búsqueda

  • Búsqueda solo por rut
    GET [base]/DiagnosticReport?subject.identifier=11484949&_tag=intervencionesQuirurgicas
    

Ejemplo de response


{
  "resourceType": "Bundle",
  "id": "d958c297-820e-4e50-9bda-980fa31dfe19",
  "meta": {
    "lastUpdated": "2018-08-12T22:38:52.433-03:00"
  },
  "type": "searchset",
  "total": 1,
  "link": [
    {
      "relation": "self",
      "url": "http://localhost:8080/hospital-digital-fhir-server/fhir/DiagnosticReport?_format=html%2Fjson&_tag=intervencionesQuirurgicas&subject.identifier=16543676"
    }
  ],
  "entry": [
    {
      "fullUrl": "http://localhost:8080/hospital-digital-fhir-server/fhir/DiagnosticReport/179",
      "resource": {
        "resourceType": "DiagnosticReport",
        "id": "179",
        "contained": [
          {
            "resourceType": "Patient",
            "id": "p1",
            "identifier": [
              {
                "system": "https://www.srcei.cl/RUT",
                "value": "16543676"
              }
            ]
          }
        ],
        "subject": {
          "reference": "#p1"
        },
        "codedDiagnosis": [
          {
            "coding": [
              {
                "id": "intervQPpal",
                "code": "2004006",
                "display": "GLOSA_INTERV_Q_PPAL"
              }
            ]
          },
          {
            "coding": [
              {
                "id": "intervQ2",
                "code": "2004006",
                "display": "GLOSA_INTERV_Q_2"
              }
            ]
          },
          {
            "coding": [
              {
                "id": "intervQ3",
                "code": "2004006",
                "display": "GLOSA_INTERV_Q_3"
              }
            ]
          }
        ]
      }
    }
  ]
}



Ingresos Urgencias

Aquí se presentan todos los recursos que se utilizaron para mapear la información de los Ingresos de Urgencias.

  1. Definición de estructura para los datos de las ingresos de urgencias, aqui se definen principalmente los campos utilizados del recurso DiagnosticReport de HL7 FHIR. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/diagnosticreportingresosurgenciasapimin.

subjectReference(Patient_apimin)
contextReference(Encounter_apimin)
code
display

  1. Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/patientapimin.

system
valueS
birthDateS

  1. Definición de estructura para los datos del encuentro. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/encounterapimin.

start
end
text
serviceProviderReference(Organization_apimin)

  1. Definición de estructura para los datos del establecimiento. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/organizationapimin.

systemS
valueS
nameS

Búsquedas

Parámetros de Búsqueda Ingresos Urgencias

Nombre Tipo Descripción Expresión Ejemplo
subject token Utilizado como el rut del paciente sin dígito verificador DiagnosticReport.subject subject.identifier=1111111
_tag token Utilizado como parametro identificador de esquema de datos por minsal _tag _tag=atencionesDeUrgencias
date date Fecha de atención en formato YYYY-MM-DD DiagnosticReport.context:Encounter.period.start date=ge2018-10-12
date=lt2018-10-12
date=2018-10-12

Prefijos implementados para búsquedas por fecha

Expresión Definición Ejemplo Significado
ge Mayor o Igual que ge2018-10-12 Resultados con fecha posterior o igual a 2018-10-12
lt Menor que lt2018-10-12 Resultados con fecha anterior a 2018-10-12

Referencia: Documentación completa en FHIR

Ejemplos de búsqueda

  • Búsqueda solo por rut
    GET [base]/DiagnosticReport?_tag=atencionesDeUrgencias&subject.identifier=17299424
    
  • Búsqueda por rut y rango de fechas
    GET [base]/DiagnosticReport?_tag=atencionesDeUrgencias&subject.identifier=17299424&date=ge2016-01-01&date=lt2016-01-02
    

Ejemplo de response

{
  "resourceType": "Bundle",
  "id": "e6555f52-d903-4ff2-a835-b4ab7c9dee5d",
  "meta": {
    "lastUpdated": "2018-08-14T20:09:21.397-03:00"
  },
  "type": "searchset",
  "total": 1,
  "link": [
    {
      "relation": "self",
      "url": "http://localhost:8080/hospital-digital-fhir-server/fhir/DiagnosticReport?_format=html%2Fjson&_tag=atencionesDeUrgencias&subject.identifier=17299424"
    }
  ],
  "entry": [
    {
      "fullUrl": "http://localhost:8080/hospital-digital-fhir-server/fhir/DiagnosticReport/1",
      "resource": {
        "resourceType": "DiagnosticReport",
        "id": "1",
        "contained": [
          {
            "resourceType": "Organization",
            "id": "o1",
            "identifier": [
              {
                "system": "http://www.deis.cl",
                "value": "101303"
              }
            ],
            "name": "Centro de Salud Familiar Iris Véliz Hume (Ex Oriente)"
          },
          {
            "resourceType": "Patient",
            "id": "p1",
            "identifier": [
              {
                "system": "https://www.srcei.cl/RUT",
                "value": "17299424"
              }
            ]
          },
          {
            "resourceType": "Encounter",
            "id": "enc1",
            "period": {
              "start": "2016-01-01T00:00:00-03:00",
              "end": "2016-01-01T00:00:00-03:00"
            },
            "reason": [
              {
                "text": "GOLPE EN LA CABEZA CON UN FIERRO HERIDAS SANGRANDO"
              }
            ],
            "serviceProvider": {
              "reference": "#o1"
            }
          }
        ],
        "subject": {
          "reference": "#p1"
        },
        "context": {
          "reference": "#enc1"
        },
        "codedDiagnosis": [
          {
            "coding": [
              {
                "code": "S01"
              },
              {
                "display": "HERIDA DE LA CABEZA"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "S01"
              },
              {
                "display": "HERIDA DE LA CABEZA"
              }
            ]
          }
        ]
      }
    }
  ]
}

FOFAR Medicamentos Programados y Dispensados

Aquí se presentan todos los recursos que se utilizaron para mapear la información de FOFAR Medicamentos Programados y Dispensados.

  1. Definición de estructura para los datos de FOFAR Medicamentos Programados y Dispensados, aqui se definen principalmente los campos utilizados del recurso MedicationRequest de HL7 FHIR. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/medicationrequestapimin.

medicationReferenceReference(Medication_apimin)
subjectReference(Patient_apimin)
authoredOn
rateQuantityhttp://hl7.org/fhir/StructureDefinition/SimpleQuantity
rateRatioRatio_apimin
end
numberOfRepeatsAllowed

  1. Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/patientapimin.

system
valueS
birthDateS

  1. Definición de estructura para los datos de los medicamentos. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/medicationapimin.

system
code
text

  1. Definición del tipo de dato Ratio para la utilización en MedicationRequest. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/ratioapimin.

value
value

Búsquedas

Parámetros de Búsqueda Medicamentos

Nombre Tipo Descripción Expresión Ejemplo
patient token Utilizado como el rut del paciente sin dígito verificador MedicationRequest.subject patient.identifier=1111111
_tag token Utilizado como parametro identificador de esquema de datos por minsal _tag _tag=medicamentos
authoredon date Fecha de la emisión de la receta YYYY-MM-DD MedicationRequest.authoredOn date=2018-10-12 date=ge2018-10-12 date=lt2018-10-12

Prefijos implementados para búsquedas por fecha

Expresión Definición Ejemplo Significado
ge Mayor o Igual que ge2018-10-12 Resultados con fecha posterior o igual a 2018-10-12
lt Menor que lt2018-10-12 Resultados con fecha anterior a 2018-10-12

Referencia: Documentación completa en FHIR

Ejemplos de búsqueda

  • Búsqueda solo por rut
    GET [base]/MedicationRequest?_tag=medicamentos&patient.identifer=10042963
    

| Resultados con fecha posterior o igual a 2018-10-12 | | lt | Menor que | lt2018-10-12 | Resultados con fecha anterior a 2018-10-12 | Referencia: Documentación completa en FHIR

Ejemplos de búsqueda

  • Búsqueda solo por rut
    GET [base]/MedicationRequest?_tag=medicamentos&patient.identifer=10042963
    
  • Búsqueda por rut y rango de fechas
    GET [base]/MedicationRequest?_tag=medicamentos&patient.identifer=10042963&authoredOn=ge2014-04-24&authoredOn=lt2018-01-03
    

Ejemplo de response

{
  "resourceType": "Bundle",
  "id": "452e4d02-d160-4cc3-a039-6a492b28fcb4",
  "meta": {
    "lastUpdated": "2018-08-13T15:03:15.148-03:00"
  },
  "type": "searchset",
  "total": 1,
  "link": [
    {
      "relation": "self",
      "url": "http://localhost:8080/hospital-digital-fhir-server/fhir/MedicationRequest?_format=html%2Fjson&_tag=medicamentos&patient.identifer=10042963"
    }
  ],
  "entry": [
    {
      "fullUrl": "http://localhost:8080/hospital-digital-fhir-server/fhir/MedicationRequest/mr2",
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "mr2",
        "contained": [
          {
            "resourceType": "Medication",
            "id": "med1",
            "code": {
              "coding": [
                {
                  "system": "https://www.whocc.no/atc_ddd_index/",
                  "code": "C07AA05"
                },
                {
                  "system": "http://www.minsal.cl/",
                  "code": "56"
                }
              ],
              "text": "propranolol 40 mg comprimido"
            }
          },
          {
            "resourceType": "Patient",
            "id": "p1",
            "identifier": [
              {
                "system": "https://www.srcei.cl/RUT",
                "value": "10042963"
              }
            ]
          }
        ],
        "medicationReference": {
          "reference": "#med1"
        },
        "subject": {
          "reference": "#p1"
        },
        "authoredOn": "2014-04-24T00:00:00-03:00",
        "dosageInstruction": [
          {
            "rateRatio": {
              "numerator": {
                "value": 0.5,
                "unit": "Dosis"
              },
              "denominator": {
                "value": 1,
                "unit": "Frecuencia"
              }
            }
          }
        ],
        "dispenseRequest": {
          "validityPeriod": {
            "end": "2014-08-22T00:00:00-04:00"
          },
          "numberOfRepeatsAllowed": 10
        }
      }
    }
  ]
}

Vacunas

Aquí se presentan todos los recursos que se utilizaron para mapear la información de las Vacunas.

  1. Definición de estructura para los datos de las Vacunas, aqui se definen principalmente los campos utilizados del recurso Immunization de HL7 FHIR. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/immunizationapimin.

code
text
patientReference(Patient_apimin)
date
locationReference(Location_apimin)
lotNumber
doseQuantity
text
detailReference(Observation_apimin)

  1. Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/patientapimin.

system
valueS
birthDateS

  1. Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/observationapimin.

system
code
text
valueQuantityQuantity
valueStringstring

  1. Definición de estructura para los datos del lugar el cual pertenece a la organización que relizó la vacuna. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/locationapimin.

text
managingOrganizationReference(Organization_apimin)

  1. Definición de estructura para los datos del establecimiento. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/organizationapimin.

systemS
valueS
nameS

Parámetros de Búsqueda Vacunas

Nombre Tipo Descripción Expresión Ejemplo
patient token Utilizado como el rut del paciente sin dígito verificador Immunization.patient patient.identifier=1111111
_tag token Utilizado como parámetro identificador de esquema de datos por minsal _tag _tag=vacunas
date date Fecha de la vacuna en formato YYYY-MM-DD Immunization.date date=2018-10-12 date=ge2018-10-12 date=lt2018-10-12
vaccine-code token Tipo de programa de Vacuna Immunization.vaccineCode vaccine-code=INTERNACIONAL

Prefijos implementados para búsquedas por fecha

Expresión Definición Ejemplo Significado
ge Mayor o Igual que ge2018-10-12 Resultados con fecha posterior o igual a 2018-10-12
lt Menor que lt2018-10-12 Resultados con fecha anterior a 2018-10-12

Referencia: Documentación completa en FHIR

Ejemplos de búsqueda

  • Búsqueda solo por rut
    GET [base]/Immunization?_tag=vacunas&patient.identifer=23504868
    
  • Búsqueda por rut y rango de fechas
    GET [base]/Immunization?_tag=vacunas&patient.identifer=23504868&date=ge2016-01-03&date=lt2018-01-03
    
  • Búsqueda por rut y tipo de vacunas
    GET [base]/Immunization?_tag=vacunas&patient.identifer=23504868&vaccine-code=INTERNACIONAL
    
  • Búsqueda por rut, rango de fechas y tipo
    GET [base]/Immunization?_tag=vacunas&patient.identifer=23504868&vaccine-code=INTERNACIONAL&date=ge2016-01-03&date=lt2018-01-03
    

Ejemplo de response

{
  "resourceType": "Bundle",
  "id": "a18a0678-4f04-4164-bbe4-68da979e53d4",
  "meta": {
    "lastUpdated": "2018-08-14T20:11:53.048-03:00"
  },
  "type": "searchset",
  "total": 1,
  "link": [
    {
      "relation": "self",
      "url": "http://localhost:8080/hospital-digital-fhir-server/fhir/Immunization?_format=html%2Fjson&_tag=vacunas&date=ge2016-01-03&date=lt2018-01-03&patient.identifer=23504868"
    }
  ],
  "entry": [
    {
      "fullUrl": "http://localhost:8080/hospital-digital-fhir-server/fhir/Immunization/v110742600",
      "resource": {
        "resourceType": "Immunization",
        "id": "v110742600",
        "contained": [
          {
            "resourceType": "Organization",
            "id": "o1",
            "identifier": [
              {
                "system": "http://www.deis.cl",
                "value": "9999"
              }
            ]
          },
          {
            "resourceType": "Patient",
            "id": "p1",
            "identifier": [
              {
                "system": "https://www.srcei.cl/RUT",
                "value": "23504868"
              }
            ]
          },
          {
            "resourceType": "Location",
            "id": "l1",
            "managingOrganization": {
              "reference": "#o1"
            }
          },
          {
            "resourceType": "Observation",
            "id": "ob1",
            "status": "registered",
            "code": {
              "text": "indeterminado"
            },
            "valueString": "SinReaccion"
          }
        ],
        "vaccineCode": {
          "text": "INTERNACIONAL"
        },
        "patient": {
          "reference": "#p1"
        },
        "date": "2016-01-05T00:00:00-03:00",
        "location": {
          "reference": "#l1"
        },
        "lotNumber": "L5058-3",
        "doseQuantity": {
          "code": "Única (0,5ml)"
        },
        "explanation": {
          "reason": [
            {
              "text": "CRITERIO_ELEGIBILIDAD GLOSA"
            }
          ]
        },
        "reaction": [
          {
            "detail": {
              "reference": "#ob1"
            }
          }
        ]
      }
    }
  ]
}

Nacimientos

Aquí se presentan todos los recursos que se utilizaron para mapear la información de los Nacimientos.

  1. Definición de estructura para los datos de los Nacimientos, aqui se definen principalmente los campos utilizados del recurso DiagnosticReport de HL7 FHIR. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/diagnosticreportnacimientosapimin.

text
subjectReference(http://example.org/fhir/StructureDefinition/Group_minsal)
contextReference(http://hl7.org/fhir/StructureDefinition/Encounter | Encounter_nac_apimin)
resultReference(http://hl7.org/fhir/StructureDefinition/Observation | Observation_apimin)

  1. Definición de estructura para los datos de los pacientes en un nacimiento (Hijo y Madre). También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/groupapimin.

entityReference(http://hl7.org/fhir/StructureDefinition/Patient | Patient_apimin)

  1. Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/patientapimin.

system
valueS
birthDateS

  1. Definición de estructura para los datos del encuentro. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/encounternacapimin.

text
locationReference(Location_apimin)
serviceProviderReference(Organization_apimin)

  1. Definición de estructura para los datos de las observaciones dentro del parto. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/observationapimin.

system
code
text
valueQuantityQuantity
valueStringstring

  1. Definición de estructura para los datos del lugar del nacimiento. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/locationapimin.

text
managingOrganizationReference(Organization_apimin)

  1. Definición de estructura para los datos del establecimiento. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/organizationapimin.

systemS
valueS
nameS

Parámetros de Búsqueda Nacimientos

Nombre Tipo Descripción Expresión Ejemplo
subject token Utilizado como el rut del paciente sin dígito verificador DiagnosticReport.subject(Group) subject:Group.member.identifier=1111111
_tag token Utilizado como parametro identificador de esquema de datos por minsal _tag _tag=nacimientos
date date Fecha de nacimiento del hijo en formato YYYY-MM-DD patient.birthDate date=ge2018-10-12
date=lt2018-10-12
date=2018-10-12

Prefijos implementados para búsquedas por fecha

Expresión Definición Ejemplo Significado
ge Mayor o Igual que ge2018-10-12 Resultados con fecha posterior o igual a 2018-10-12
lt Menor que lt2018-10-12 Resultados con fecha anterior a 2018-10-12

Referencia: Documentación completa en FHIR

Ejemplos de búsqueda

  • Búsqueda solo por rut
    GET [base]/DiagnosticReport?_tag=nacimientos&subject:Group.member.identifier=15117694
    
  • Búsqueda por rut y rango de fechas
    GET [base]/DiagnosticReport?_tag=nacimientos&subject:Group.member.identifier=15117694&date=ge2015-01-12&date=lt2018-01-03
    

Ejemplo de response

{
  "resourceType": "Bundle",
  "id": "eabbbeb1-44b3-4f17-8763-0c3c1b17721b",
  "meta": {
    "lastUpdated": "2018-08-14T19:31:41.357-03:00"
  },
  "type": "searchset",
  "total": 1,
  "link": [
    {
      "relation": "self",
      "url": "http://localhost:8080/hospital-digital-fhir-server/fhir/DiagnosticReport?_format=html%2Fjson&_tag=nacimientos&subject.identifier=23836595"
    }
  ],
  "entry": [
    {
      "fullUrl": "http://localhost:8080/hospital-digital-fhir-server/fhir/DiagnosticReport/8784330",
      "resource": {
        "resourceType": "DiagnosticReport",
        "id": "8784330",
        "contained": [
          {
            "resourceType": "Patient",
            "id": "p1",
            "identifier": [
              {
                "system": "https://www.srcei.cl/RUT",
                "value": "23836595"
              }
            ],
            "birthDate": "2011-12-27"
          },
          {
            "resourceType": "Patient",
            "id": "p2",
            "identifier": [
              {
                "system": "https://www.srcei.cl/RUT",
                "value": "18915056"
              }
            ]
          },
          {
            "resourceType": "Location",
            "id": "loc1",
            "address": {
              "text": "Hospital"
            }
          },
          {
            "resourceType": "Group",
            "id": "g1",
            "member": [
              {
                "entity": {
                  "reference": "#p1",
                  "display": "hijo"
                }
              },
              {
                "entity": {
                  "reference": "#p2",
                  "display": "madre"
                }
              }
            ]
          },
          {
            "resourceType": "Encounter",
            "id": "enc1",
            "type": [
              {
                "text": "Matrona"
              }
            ],
            "location": [
              {
                "location": {
                  "reference": "#loc1",
                  "display": "Lugar del Parto"
                }
              }
            ],
            "serviceProvider": {
              "reference": "#o1"
            }
          },
          {
            "resourceType": "Observation",
            "id": "ob1",
            "category": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/observation-category",
                    "code": "vital-signs"
                  }
                ]
              }
            ],
            "code": {
              "text": "semanas"
            },
            "valueQuantity": {
              "value": 38,
              "unit": "semanas"
            }
          },
          {
            "resourceType": "Observation",
            "id": "ob2",
            "category": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/observation-category",
                    "code": "procedure"
                  }
                ]
              }
            ],
            "code": {
              "text": "peso"
            },
            "valueQuantity": {
              "value": 3390,
              "unit": "kg"
            }
          },
          {
            "resourceType": "Observation",
            "id": "ob3",
            "category": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/observation-category",
                    "code": "procedure"
                  }
                ]
              }
            ],
            "code": {
              "text": "talla"
            },
            "valueQuantity": {
              "value": 49,
              "unit": "cm"
            }
          },
          {
            "resourceType": "Observation",
            "id": "ob4",
            "category": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/observation-category",
                    "code": "social-history"
                  }
                ]
              }
            ],
            "code": {
              "text": "hijos-vivos"
            },
            "valueQuantity": {
              "value": 1,
              "unit": "hijos"
            }
          },
          {
            "resourceType": "Observation",
            "id": "ob5",
            "category": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/observation-category",
                    "code": "social-history"
                  }
                ]
              }
            ],
            "code": {
              "text": "hijos-fallecidos"
            },
            "valueQuantity": {
              "value": 0,
              "unit": "hijos"
            }
          },
          {
            "resourceType": "Observation",
            "id": "ob6",
            "category": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/observation-category",
                    "code": "social-history"
                  }
                ]
              }
            ],
            "code": {
              "text": "hijos-total"
            },
            "valueQuantity": {
              "value": 1,
              "unit": "hijos"
            }
          }
        ],
        "code": {
          "text": "Simple"
        },
        "subject": {
          "reference": "#g1"
        },
        "context": {
          "reference": "#enc1"
        },
        "result": [
          {
            "reference": "#ob1"
          },
          {
            "reference": "#ob2"
          },
          {
            "reference": "#ob3"
          },
          {
            "reference": "#ob4"
          },
          {
            "reference": "#ob5"
          },
          {
            "reference": "#ob6"
          }
        ]
      }
    }
  ]
}