This page is part of the De-identified, Anonymized FHIR Profiles Library (DAPL) IG (v1.0.0-ballot: STU 1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. No current official version has been published yet. For a full list of available versions, see the Directory of published versions
| Official URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-patient | Version: 1.0.0-ballot | |||
| Standards status: Trial-use | Maturity Level: 2 | Computable Name: DAPLDeIdentifiedPatient | ||
This Patient profile represents a deidentified Patient
This profile is used to represent de-identified patient information. The de-identification process has to remove all data elements not explicitly identified as "SUPPORTED" in the profile.
The HHS De-identification Guidance is to be followed to ensure appropriate level of de-identification is performed.
According to the HHS guidance the following data elements have to be removed or de-identified
Address that is more specific than a state
In FHIR Resources, text elements which provide human readable information to the providers may be generated using programs and tools from the data present within the resource. For e.g a Patient resource text element may contain information such as the full name, Gender and Date of Birth. This type of information will enable identification of the individuals. In order to avoid inadvertent revealing of PII/PHI, text elements cannot be included in the De-identified FHIR resource and the submission will be rejected when text elements are present by the validation process.
Age Computation
The Data Submitter has to compute the age based as of December 31st of the previous year for most use cases related to federal reporting such as UDS+.
Id Generation
The original patient resource id should not be included in the De-identified patient instance. Instead a new id should be created and provided as part of the FHIR resource. This Data Submitter should be capable of using the generated id to relink the data to the original patient. All resource references to the Patient submitted as part of the data exchange should refer to newly generated de-identified id.
Usage of Data Absent Reason Extension
For federal reporting, the patient data is de-identified and in the process zip codes may be masked to a value of "00000". In these cases the dataAbsentReason extension must be added to identify that the data is "masked". If the zip code is not known, a value of "00000" must be sent with a dataAbsentReason of "unknown". If the zip code is outside the country, a value of "00000" must be sent with a dataAbsentReason of "unsupported".
Sex Additional Constraints
NullFlavors may not allowed for sex reporting in some use cases such as UDS+ even though they are allowed in US Core.
Race and Ethnicity Additional Constraints
US Core allows Race and Ethnicity to be described as only text or rolled up to the OMB categories, however federal agencies may mandate reporting detailed race and ethnicity.
Sexual Orientation Additional Constraints
Health Centers which have not implemented the methods to capture Sexual Orientation, should use the null flavor coded value of "NASK" specifically.
Gender Identity Additional Constraints
Health Centers which have not implemented the methods to capture Gender Identity, should use the null flavor coded value of "NASK" specifically.
Examples
Examples of identifiable data and its corresponding de-identifiable data are present in the FHIR Artifacts examples
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Patient | DAPL Deidentified Patient | |
![]() ![]() |
SΣ | 0..1 | id | The patient identifier generated by DARTS deidentification service |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
SC | 0..1 | (Complex) | US Core Race Extension URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race Constraints: us-core-23 |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Indicates the ethnicity of the Patient. URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity profiled by http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-ethnicity-extension |
![]() ![]() ![]() |
S | 0..1 | code | Indicates the sex of the Patient. URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-sex-extension Binding: DAPL Sex Codes (required): The set of codes to be used for sex reporting. |
![]() ![]() ![]() |
S | 1..1 | Quantity, Range | Age of the Patient computed using birthDate and the reporting period reference URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this patient's record is in active use |
![]() ![]() |
?!SΣC | 0..1 | Indicates if the Patient is deceased, it can be either a Boolean or a Date with a precision of year only. Constraints: dapl-date-1, dapl-date-1a | |
![]() ![]() ![]() |
dateTime S | |||
![]() ![]() ![]() |
boolean S | |||
![]() ![]() |
SΣ | 1..1 | Address | Included only to support zip code |
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() ![]() ![]() |
SΣC | 1..1 | string | ZipCode must be included in the profile Constraints: dapl-potalCode-1 Example General: 9132 |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | Reason why the data is not present URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/data-absent-reason" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Value of extension Binding: DataAbsentReason (required) |
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Language must be included in the profile Binding: Languages (extensible): The set of languages that the patient uses |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
| Patient.address.postalCode.extension:dataAbsentReason.value[x] | Base | required | DataAbsentReason | 📦4.0.1 | FHIR Std. |
| Patient.communication.language | Base | extensible | Languages | 📦1.0.0 | THO v7.1 |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dapl-date-1 | error | Patient.deceased[x] | All dateTime data elements should be truncated to a year only for de-identified resources. |
$this is dateTime implies $this.toString().length() = 4
|
| dapl-date-1a | error | Patient.deceased[x] | All dateTime data elements should have valid year > 1900 |
$this is dateTime implies $this.toString() >= '1900'
|
| dapl-potalCode-1 | error | Patient.address.postalCode | De-identified Zipcodes can contain first 3 digits followed by 00 in the last two digits or have to be masked with 00000. If the extended ZipCode format is used the resulting format should be #####-####. |
$this.matches('^[0-9]{3}[0]{2}(-[0-9]{4})?$')
|
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Patient | 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-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| us-core-23 | error | Patient.extension:us-core-race | If "ASKU" or "UNK" are present, then no other OMB race categories can be present. |
extension.where(url = 'ombCategory').value.where(code in 'ASKU'|'UNK').exists() implies extension.where(url = 'ombCategory').count() = 1
|
This structure is derived from Patient
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Patient | DAPL Deidentified Patient | |
![]() ![]() |
S | 0..1 | id | The patient identifier generated by DARTS deidentification service |
![]() ![]() |
0..0 | Cannot include any text in the resource as part of the deidentified data. | ||
![]() ![]() |
0..0 | Cannot include any contained resources in the resource as part of the deidentified data. | ||
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 0..1 | (Complex) | US Core Race Extension URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Indicates the ethnicity of the Patient. URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity profiled by http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-ethnicity-extension |
![]() ![]() ![]() |
S | 0..1 | code | Indicates the sex of the Patient. URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-sex-extension Binding: DAPL Sex Codes (required): The set of codes to be used for sex reporting. |
![]() ![]() ![]() |
S | 1..1 | Quantity, Range | Age of the Patient computed using birthDate and the reporting period reference URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension |
![]() ![]() |
0..0 | Cannot include any identifier in the resource as part of the deidentified data. | ||
![]() ![]() |
0..0 | Cannot include any name in the resource as part of the deidentified data. | ||
![]() ![]() |
0..0 | Cannot include any telecom information in the resource as part of the deidentified data. | ||
![]() ![]() |
0..0 | Cannot include any date of birth information in the resource as part of the deidentified data. | ||
![]() ![]() |
SC | 0..1 | Indicates if the Patient is deceased, it can be either a Boolean or a Date with a precision of year only. Constraints: dapl-date-1, dapl-date-1a | |
![]() ![]() ![]() |
dateTime S | |||
![]() ![]() ![]() |
boolean S | |||
![]() ![]() |
S | 1..1 | Address | Included only to support zip code |
![]() ![]() ![]() |
0..0 | Text cannot be included in the profile | ||
![]() ![]() ![]() |
0..0 | Street names cannot be included in the profile | ||
![]() ![]() ![]() |
SC | 1..1 | string | ZipCode must be included in the profile Constraints: dapl-potalCode-1 |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | Reason why the data is not present URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Value of extension |
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Language must be included in the profile Binding: Languages (extensible): The set of languages that the patient uses |
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.communication.language | Base | extensible | Languages | 📦1.0.0 | THO v7.1 |
| Id | Grade | Path(s) | Description | Expression |
| dapl-date-1 | error | Patient.deceased[x] | All dateTime data elements should be truncated to a year only for de-identified resources. |
$this is dateTime implies $this.toString().length() = 4
|
| dapl-date-1a | error | Patient.deceased[x] | All dateTime data elements should have valid year > 1900 |
$this is dateTime implies $this.toString() >= '1900'
|
| dapl-potalCode-1 | error | Patient.address.postalCode | De-identified Zipcodes can contain first 3 digits followed by 00 in the last two digits or have to be masked with 00000. If the extended ZipCode format is used the resulting format should be #####-####. |
$this.matches('^[0-9]{3}[0]{2}(-[0-9]{4})?$')
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Patient | DAPL Deidentified Patient | |||||
![]() ![]() |
SΣ | 0..1 | id | The patient identifier generated by DARTS deidentification service | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SC | 0..1 | (Complex) | US Core Race Extension URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race Constraints: us-core-23 | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Indicates the ethnicity of the Patient. URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity profiled by http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-ethnicity-extension | ||||
![]() ![]() ![]() |
S | 0..1 | code | Indicates the sex of the Patient. URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-sex-extension Binding: DAPL Sex Codes (required): The set of codes to be used for sex reporting. | ||||
![]() ![]() ![]() |
S | 1..1 | Quantity, Range | Age of the Patient computed using birthDate and the reporting period reference URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this patient's record is in active use | ||||
![]() ![]() |
Σ | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||
![]() ![]() |
?!SΣC | 0..1 | Indicates if the Patient is deceased, it can be either a Boolean or a Date with a precision of year only. Constraints: dapl-date-1, dapl-date-1a | |||||
![]() ![]() ![]() |
dateTime S | |||||||
![]() ![]() ![]() |
boolean S | |||||||
![]() ![]() |
SΣ | 1..1 | Address | Included only to support zip code | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home | ||||
![]() ![]() ![]() |
Σ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of city, town etc. Example General: Erewhon | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | District name (aka county) Example General: Madison | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Sub-unit of country (abbreviations ok) | ||||
![]() ![]() ![]() |
SΣC | 1..1 | string | ZipCode must be included in the profile Constraints: dapl-potalCode-1 Example General: 9132 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | Reason why the data is not present URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/data-absent-reason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Value of extension Binding: DataAbsentReason (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} | ||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Language must be included in the profile Binding: Languages (extensible): The set of languages that the patient uses | ||||
![]() ![]() ![]() |
0..1 | boolean | Language preference indicator | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
| Patient.address.type | Base | required | AddressType | 📍4.0.1 | FHIR Std. |
| Patient.address.postalCode.extension:dataAbsentReason.value[x] | Base | required | DataAbsentReason | 📦4.0.1 | FHIR Std. |
| Patient.contact.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | extensible | Languages | 📦1.0.0 | THO v7.1 |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dapl-date-1 | error | Patient.deceased[x] | All dateTime data elements should be truncated to a year only for de-identified resources. |
$this is dateTime implies $this.toString().length() = 4
|
| dapl-date-1a | error | Patient.deceased[x] | All dateTime data elements should have valid year > 1900 |
$this is dateTime implies $this.toString() >= '1900'
|
| dapl-potalCode-1 | error | Patient.address.postalCode | De-identified Zipcodes can contain first 3 digits followed by 00 in the last two digits or have to be masked with 00000. If the extended ZipCode format is used the resulting format should be #####-####. |
$this.matches('^[0-9]{3}[0]{2}(-[0-9]{4})?$')
|
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Patient | 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-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| us-core-23 | error | Patient.extension:us-core-race | If "ASKU" or "UNK" are present, then no other OMB race categories can be present. |
extension.where(url = 'ombCategory').value.where(code in 'ASKU'|'UNK').exists() implies extension.where(url = 'ombCategory').count() = 1
|
This structure is derived from Patient
Summary
Mandatory: 3 elements(2 nested mandatory elements)
Must-Support: 11 elements
Prohibited: 15 elements
Extensions
This structure refers to these extensions:
Maturity: 2
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Patient | DAPL Deidentified Patient | |
![]() ![]() |
SΣ | 0..1 | id | The patient identifier generated by DARTS deidentification service |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
SC | 0..1 | (Complex) | US Core Race Extension URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race Constraints: us-core-23 |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Indicates the ethnicity of the Patient. URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity profiled by http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-ethnicity-extension |
![]() ![]() ![]() |
S | 0..1 | code | Indicates the sex of the Patient. URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-sex-extension Binding: DAPL Sex Codes (required): The set of codes to be used for sex reporting. |
![]() ![]() ![]() |
S | 1..1 | Quantity, Range | Age of the Patient computed using birthDate and the reporting period reference URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this patient's record is in active use |
![]() ![]() |
?!SΣC | 0..1 | Indicates if the Patient is deceased, it can be either a Boolean or a Date with a precision of year only. Constraints: dapl-date-1, dapl-date-1a | |
![]() ![]() ![]() |
dateTime S | |||
![]() ![]() ![]() |
boolean S | |||
![]() ![]() |
SΣ | 1..1 | Address | Included only to support zip code |
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() ![]() ![]() |
SΣC | 1..1 | string | ZipCode must be included in the profile Constraints: dapl-potalCode-1 Example General: 9132 |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | Reason why the data is not present URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/data-absent-reason" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Value of extension Binding: DataAbsentReason (required) |
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Language must be included in the profile Binding: Languages (extensible): The set of languages that the patient uses |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
| Patient.address.postalCode.extension:dataAbsentReason.value[x] | Base | required | DataAbsentReason | 📦4.0.1 | FHIR Std. |
| Patient.communication.language | Base | extensible | Languages | 📦1.0.0 | THO v7.1 |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dapl-date-1 | error | Patient.deceased[x] | All dateTime data elements should be truncated to a year only for de-identified resources. |
$this is dateTime implies $this.toString().length() = 4
|
| dapl-date-1a | error | Patient.deceased[x] | All dateTime data elements should have valid year > 1900 |
$this is dateTime implies $this.toString() >= '1900'
|
| dapl-potalCode-1 | error | Patient.address.postalCode | De-identified Zipcodes can contain first 3 digits followed by 00 in the last two digits or have to be masked with 00000. If the extended ZipCode format is used the resulting format should be #####-####. |
$this.matches('^[0-9]{3}[0]{2}(-[0-9]{4})?$')
|
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Patient | 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-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| us-core-23 | error | Patient.extension:us-core-race | If "ASKU" or "UNK" are present, then no other OMB race categories can be present. |
extension.where(url = 'ombCategory').value.where(code in 'ASKU'|'UNK').exists() implies extension.where(url = 'ombCategory').count() = 1
|
Differential View
This structure is derived from Patient
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Patient | DAPL Deidentified Patient | |
![]() ![]() |
S | 0..1 | id | The patient identifier generated by DARTS deidentification service |
![]() ![]() |
0..0 | Cannot include any text in the resource as part of the deidentified data. | ||
![]() ![]() |
0..0 | Cannot include any contained resources in the resource as part of the deidentified data. | ||
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 0..1 | (Complex) | US Core Race Extension URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Indicates the ethnicity of the Patient. URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity profiled by http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-ethnicity-extension |
![]() ![]() ![]() |
S | 0..1 | code | Indicates the sex of the Patient. URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-sex-extension Binding: DAPL Sex Codes (required): The set of codes to be used for sex reporting. |
![]() ![]() ![]() |
S | 1..1 | Quantity, Range | Age of the Patient computed using birthDate and the reporting period reference URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension |
![]() ![]() |
0..0 | Cannot include any identifier in the resource as part of the deidentified data. | ||
![]() ![]() |
0..0 | Cannot include any name in the resource as part of the deidentified data. | ||
![]() ![]() |
0..0 | Cannot include any telecom information in the resource as part of the deidentified data. | ||
![]() ![]() |
0..0 | Cannot include any date of birth information in the resource as part of the deidentified data. | ||
![]() ![]() |
SC | 0..1 | Indicates if the Patient is deceased, it can be either a Boolean or a Date with a precision of year only. Constraints: dapl-date-1, dapl-date-1a | |
![]() ![]() ![]() |
dateTime S | |||
![]() ![]() ![]() |
boolean S | |||
![]() ![]() |
S | 1..1 | Address | Included only to support zip code |
![]() ![]() ![]() |
0..0 | Text cannot be included in the profile | ||
![]() ![]() ![]() |
0..0 | Street names cannot be included in the profile | ||
![]() ![]() ![]() |
SC | 1..1 | string | ZipCode must be included in the profile Constraints: dapl-potalCode-1 |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | Reason why the data is not present URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Value of extension |
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Language must be included in the profile Binding: Languages (extensible): The set of languages that the patient uses |
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
![]() ![]() |
0..0 | Cannot include information in deidentified resources | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.communication.language | Base | extensible | Languages | 📦1.0.0 | THO v7.1 |
| Id | Grade | Path(s) | Description | Expression |
| dapl-date-1 | error | Patient.deceased[x] | All dateTime data elements should be truncated to a year only for de-identified resources. |
$this is dateTime implies $this.toString().length() = 4
|
| dapl-date-1a | error | Patient.deceased[x] | All dateTime data elements should have valid year > 1900 |
$this is dateTime implies $this.toString() >= '1900'
|
| dapl-potalCode-1 | error | Patient.address.postalCode | De-identified Zipcodes can contain first 3 digits followed by 00 in the last two digits or have to be masked with 00000. If the extended ZipCode format is used the resulting format should be #####-####. |
$this.matches('^[0-9]{3}[0]{2}(-[0-9]{4})?$')
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Patient | DAPL Deidentified Patient | |||||
![]() ![]() |
SΣ | 0..1 | id | The patient identifier generated by DARTS deidentification service | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SC | 0..1 | (Complex) | US Core Race Extension URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race Constraints: us-core-23 | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Indicates the ethnicity of the Patient. URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity profiled by http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-ethnicity-extension | ||||
![]() ![]() ![]() |
S | 0..1 | code | Indicates the sex of the Patient. URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-sex-extension Binding: DAPL Sex Codes (required): The set of codes to be used for sex reporting. | ||||
![]() ![]() ![]() |
S | 1..1 | Quantity, Range | Age of the Patient computed using birthDate and the reporting period reference URL: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this patient's record is in active use | ||||
![]() ![]() |
Σ | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||
![]() ![]() |
?!SΣC | 0..1 | Indicates if the Patient is deceased, it can be either a Boolean or a Date with a precision of year only. Constraints: dapl-date-1, dapl-date-1a | |||||
![]() ![]() ![]() |
dateTime S | |||||||
![]() ![]() ![]() |
boolean S | |||||||
![]() ![]() |
SΣ | 1..1 | Address | Included only to support zip code | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home | ||||
![]() ![]() ![]() |
Σ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of city, town etc. Example General: Erewhon | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | District name (aka county) Example General: Madison | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Sub-unit of country (abbreviations ok) | ||||
![]() ![]() ![]() |
SΣC | 1..1 | string | ZipCode must be included in the profile Constraints: dapl-potalCode-1 Example General: 9132 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | Reason why the data is not present URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/data-absent-reason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Value of extension Binding: DataAbsentReason (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} | ||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Language must be included in the profile Binding: Languages (extensible): The set of languages that the patient uses | ||||
![]() ![]() ![]() |
0..1 | boolean | Language preference indicator | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
| Patient.address.type | Base | required | AddressType | 📍4.0.1 | FHIR Std. |
| Patient.address.postalCode.extension:dataAbsentReason.value[x] | Base | required | DataAbsentReason | 📦4.0.1 | FHIR Std. |
| Patient.contact.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | extensible | Languages | 📦1.0.0 | THO v7.1 |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dapl-date-1 | error | Patient.deceased[x] | All dateTime data elements should be truncated to a year only for de-identified resources. |
$this is dateTime implies $this.toString().length() = 4
|
| dapl-date-1a | error | Patient.deceased[x] | All dateTime data elements should have valid year > 1900 |
$this is dateTime implies $this.toString() >= '1900'
|
| dapl-potalCode-1 | error | Patient.address.postalCode | De-identified Zipcodes can contain first 3 digits followed by 00 in the last two digits or have to be masked with 00000. If the extended ZipCode format is used the resulting format should be #####-####. |
$this.matches('^[0-9]{3}[0]{2}(-[0-9]{4})?$')
|
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Patient | 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-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| us-core-23 | error | Patient.extension:us-core-race | If "ASKU" or "UNK" are present, then no other OMB race categories can be present. |
extension.where(url = 'ombCategory').value.where(code in 'ASKU'|'UNK').exists() implies extension.where(url = 'ombCategory').count() = 1
|
This structure is derived from Patient
Summary
Mandatory: 3 elements(2 nested mandatory elements)
Must-Support: 11 elements
Prohibited: 15 elements
Extensions
This structure refers to these extensions:
Maturity: 2
Other representations of profile: CSV, Excel, Schematron