PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.core@1.0.0-preview
    http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult
description: This profile sets minimum expectations for an Observation resource to record, search, and fetch diagnostic results associated with a patient. It is based on the [AU Base Diagnostic Result](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-diagnosticresult.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Observation when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.
package_name: hl7.fhir.au.core
derivation: constraint
name: AUCoreDiagnosticResult
type: Observation
elements:
  category: {mustSupport: true, index: 1}
  hasMember:
    type: Reference
    short: Individual observations in a group, study, or panel
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult-path']
    index: 11
  value:
    mustSupport: true
    choices: []
    index: 8
  component:
    constraint:
      au-core-obs-03: {human: The component shall at least have a value or a data absent reason, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult', severity: error, expression: value.exists() or dataAbsentReason.exists()}
    mustSupport: true
    index: 12
    elements:
      code: {mustSupport: true, index: 13}
      value:
        mustSupport: true
        choices: []
        index: 15
      dataAbsentReason: {mustSupport: true, index: 16}
  status: {short: preliminary | final | amended +, mustSupport: true, index: 0}
  effective:
    constraint:
      au-core-obs-01: {human: 'Date shall be at least to day or, if not available, the Data Absent Reason extension shall be present', source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult', severity: error, expression: '(($this is dateTime implies $this.toString().length() >= 10) and extension(''http://hl7.org/fhir/StructureDefinition/data-absent-reason'').value.exists().not()) xor ($this is dateTime implies ($this.hasValue().not() and extension(''http://hl7.org/fhir/StructureDefinition/data-absent-reason'').value.exists()))'}
    mustSupport: true
    choices: []
    index: 5
  code: {mustSupport: true, index: 2}
  bodySite:
    binding: {strength: extensible, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/body-site-1'}
    constraint:
      au-core-obs-04: {human: 'If a coded body site is provided, at least one code shall be from SNOMED CT', source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult', severity: error, expression: 'coding.exists() implies coding.where(system=''http://snomed.info/sct'').exists()'}
    mustSupport: true
    index: 10
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 3
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-relatedperson', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole']
    index: 6
  dataAbsentReason: {mustSupport: true, index: 9}
package_version: 1.0.0-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult
base: http://hl7.org.au/fhir/StructureDefinition/au-diagnosticresult
version: 1.0.0-preview
required: [subject, category, effective]