v2+ Details
0.3.2 - Working Draft to present the concept ideas (FO)
v2+ Details - Local Development build (v0.3.2). See the Directory of published versions
Official URL: http://hl7.org/fhir/StructureDefinition/PV2 | Version: 2.9 | |||
Draft as of 2023-08-09 | Responsible: FO | Computable Name: PV2 | ||
Copyright/Legal: FO |
Patient Visit - Additional Information
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from DomainResource
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 1..1 | DomainResource | Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension A resource with narrative, extensions, and contained resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | 0..1 | PL | priorPendingLocation | |
![]() ![]() ![]() | 0..1 | CWE | accommodationCode | |
![]() ![]() ![]() | 0..1 | CWE | admitReason | |
![]() ![]() ![]() | 0..1 | CWE | transferReason | |
![]() ![]() ![]() | 0..* | ST | patientValuables | |
![]() ![]() ![]() | 0..1 | ST | patientValuablesLocation | |
![]() ![]() ![]() | 0..* | CWE | visitUserCode | |
![]() ![]() ![]() | 0..1 | DTM | expectedAdmitDateTime | |
![]() ![]() ![]() | 0..1 | DTM | expectedDischargeDateTime | |
![]() ![]() ![]() | 0..1 | NM | estimatedLengthofInpatientStay | |
![]() ![]() ![]() | 0..1 | NM | actualLengthofInpatientStay | |
![]() ![]() ![]() | 0..1 | ST | visitDescription | |
![]() ![]() ![]() | 0..* | XCN | referralSourceCode | |
![]() ![]() ![]() | 0..1 | DT | previousServiceDate | |
![]() ![]() ![]() | 0..1 | ID | employmentIllnessRelatedIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | CWE | purgeStatusCode | |
![]() ![]() ![]() | 0..1 | DT | purgeStatusDate | |
![]() ![]() ![]() | 0..1 | CWE | specialProgramCode | |
![]() ![]() ![]() | 0..1 | ID | retentionIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | NM | expectedNumberofInsurancePlans | |
![]() ![]() ![]() | 0..1 | CWE | visitPublicityCode | |
![]() ![]() ![]() | 0..1 | ID | visitProtectionIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..* | XON | clinicOrganizationName | |
![]() ![]() ![]() | 0..1 | CWE | patientStatusCode | |
![]() ![]() ![]() | 0..1 | CWE | visitPriorityCode | |
![]() ![]() ![]() | 0..1 | DT | previousTreatmentDate | |
![]() ![]() ![]() | 0..1 | CWE | expectedDischargeDisposition | |
![]() ![]() ![]() | 0..1 | DT | signatureonFileDate | |
![]() ![]() ![]() | 0..1 | DT | firstSimilarIllnessDate | |
![]() ![]() ![]() | 0..1 | CWE | patientChargeAdjustmentCode | |
![]() ![]() ![]() | 0..1 | CWE | recurringServiceCode | |
![]() ![]() ![]() | 0..1 | ID | billingMediaCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | DTM | expectedSurgeryDateandTime | |
![]() ![]() ![]() | 0..1 | ID | militaryPartnershipCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | militaryNon-AvailabilityCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | newbornBabyIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | babyDetainedIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | CWE | modeofArrivalCode | |
![]() ![]() ![]() | 0..* | CWE | recreationalDrugUseCode | |
![]() ![]() ![]() | 0..1 | CWE | admissionLevelofCareCode | |
![]() ![]() ![]() | 0..* | CWE | precautionCode | |
![]() ![]() ![]() | 0..1 | CWE | patientConditionCode | |
![]() ![]() ![]() | 0..1 | CWE | livingWillCode | |
![]() ![]() ![]() | 0..1 | CWE | organDonorCode | |
![]() ![]() ![]() | 0..* | CWE | advanceDirectiveCode | |
![]() ![]() ![]() | 0..1 | DT | patientStatusEffectiveDate | |
![]() ![]() ![]() | 0..1 | DTM | expectedLOAReturnDateTime | |
![]() ![]() ![]() | 0..1 | DTM | expectedPre-admissionTestingDateTime | |
![]() ![]() ![]() | 0..* | CWE | notifyClergyCode | |
![]() ![]() ![]() | 0..1 | DT | advanceDirectiveLastVerifiedDate | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 1..1 | DomainResource | Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension A resource with narrative, extensions, and contained resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() ![]() | 0..1 | PL | priorPendingLocation | |
![]() ![]() ![]() | 0..1 | CWE | accommodationCode | |
![]() ![]() ![]() | 0..1 | CWE | admitReason | |
![]() ![]() ![]() | 0..1 | CWE | transferReason | |
![]() ![]() ![]() | 0..* | ST | patientValuables | |
![]() ![]() ![]() | 0..1 | ST | patientValuablesLocation | |
![]() ![]() ![]() | 0..* | CWE | visitUserCode | |
![]() ![]() ![]() | 0..1 | DTM | expectedAdmitDateTime | |
![]() ![]() ![]() | 0..1 | DTM | expectedDischargeDateTime | |
![]() ![]() ![]() | 0..1 | NM | estimatedLengthofInpatientStay | |
![]() ![]() ![]() | 0..1 | NM | actualLengthofInpatientStay | |
![]() ![]() ![]() | 0..1 | ST | visitDescription | |
![]() ![]() ![]() | 0..* | XCN | referralSourceCode | |
![]() ![]() ![]() | 0..1 | DT | previousServiceDate | |
![]() ![]() ![]() | 0..1 | ID | employmentIllnessRelatedIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | CWE | purgeStatusCode | |
![]() ![]() ![]() | 0..1 | DT | purgeStatusDate | |
![]() ![]() ![]() | 0..1 | CWE | specialProgramCode | |
![]() ![]() ![]() | 0..1 | ID | retentionIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | NM | expectedNumberofInsurancePlans | |
![]() ![]() ![]() | 0..1 | CWE | visitPublicityCode | |
![]() ![]() ![]() | 0..1 | ID | visitProtectionIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..* | XON | clinicOrganizationName | |
![]() ![]() ![]() | 0..1 | CWE | patientStatusCode | |
![]() ![]() ![]() | 0..1 | CWE | visitPriorityCode | |
![]() ![]() ![]() | 0..1 | DT | previousTreatmentDate | |
![]() ![]() ![]() | 0..1 | CWE | expectedDischargeDisposition | |
![]() ![]() ![]() | 0..1 | DT | signatureonFileDate | |
![]() ![]() ![]() | 0..1 | DT | firstSimilarIllnessDate | |
![]() ![]() ![]() | 0..1 | CWE | patientChargeAdjustmentCode | |
![]() ![]() ![]() | 0..1 | CWE | recurringServiceCode | |
![]() ![]() ![]() | 0..1 | ID | billingMediaCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | DTM | expectedSurgeryDateandTime | |
![]() ![]() ![]() | 0..1 | ID | militaryPartnershipCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | militaryNon-AvailabilityCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | newbornBabyIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | babyDetainedIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | CWE | modeofArrivalCode | |
![]() ![]() ![]() | 0..* | CWE | recreationalDrugUseCode | |
![]() ![]() ![]() | 0..1 | CWE | admissionLevelofCareCode | |
![]() ![]() ![]() | 0..* | CWE | precautionCode | |
![]() ![]() ![]() | 0..1 | CWE | patientConditionCode | |
![]() ![]() ![]() | 0..1 | CWE | livingWillCode | |
![]() ![]() ![]() | 0..1 | CWE | organDonorCode | |
![]() ![]() ![]() | 0..* | CWE | advanceDirectiveCode | |
![]() ![]() ![]() | 0..1 | DT | patientStatusEffectiveDate | |
![]() ![]() ![]() | 0..1 | DTM | expectedLOAReturnDateTime | |
![]() ![]() ![]() | 0..1 | DTM | expectedPre-admissionTestingDateTime | |
![]() ![]() ![]() | 0..* | CWE | notifyClergyCode | |
![]() ![]() ![]() | 0..1 | DT | advanceDirectiveLastVerifiedDate | |
![]() |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | PV2 | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | PV2 | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | PV2 | 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 | PV2 | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | PV2 | 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() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 1..1 | DomainResource | Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension A resource with narrative, extensions, and contained resources Instances of this logical model are not marked to be the target of a Reference | |||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 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: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() | 0..1 | PL | priorPendingLocation | |||||
![]() ![]() ![]() | 0..1 | CWE | accommodationCode | |||||
![]() ![]() ![]() | 0..1 | CWE | admitReason | |||||
![]() ![]() ![]() | 0..1 | CWE | transferReason | |||||
![]() ![]() ![]() | 0..* | ST | patientValuables | |||||
![]() ![]() ![]() | 0..1 | ST | patientValuablesLocation | |||||
![]() ![]() ![]() | 0..* | CWE | visitUserCode | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedAdmitDateTime | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedDischargeDateTime | |||||
![]() ![]() ![]() | 0..1 | NM | estimatedLengthofInpatientStay | |||||
![]() ![]() ![]() | 0..1 | NM | actualLengthofInpatientStay | |||||
![]() ![]() ![]() | 0..1 | ST | visitDescription | |||||
![]() ![]() ![]() | 0..* | XCN | referralSourceCode | |||||
![]() ![]() ![]() | 0..1 | DT | previousServiceDate | |||||
![]() ![]() ![]() | 0..1 | ID | employmentIllnessRelatedIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | CWE | purgeStatusCode | |||||
![]() ![]() ![]() | 0..1 | DT | purgeStatusDate | |||||
![]() ![]() ![]() | 0..1 | CWE | specialProgramCode | |||||
![]() ![]() ![]() | 0..1 | ID | retentionIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | NM | expectedNumberofInsurancePlans | |||||
![]() ![]() ![]() | 0..1 | CWE | visitPublicityCode | |||||
![]() ![]() ![]() | 0..1 | ID | visitProtectionIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..* | XON | clinicOrganizationName | |||||
![]() ![]() ![]() | 0..1 | CWE | patientStatusCode | |||||
![]() ![]() ![]() | 0..1 | CWE | visitPriorityCode | |||||
![]() ![]() ![]() | 0..1 | DT | previousTreatmentDate | |||||
![]() ![]() ![]() | 0..1 | CWE | expectedDischargeDisposition | |||||
![]() ![]() ![]() | 0..1 | DT | signatureonFileDate | |||||
![]() ![]() ![]() | 0..1 | DT | firstSimilarIllnessDate | |||||
![]() ![]() ![]() | 0..1 | CWE | patientChargeAdjustmentCode | |||||
![]() ![]() ![]() | 0..1 | CWE | recurringServiceCode | |||||
![]() ![]() ![]() | 0..1 | ID | billingMediaCode Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedSurgeryDateandTime | |||||
![]() ![]() ![]() | 0..1 | ID | militaryPartnershipCode Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | ID | militaryNon-AvailabilityCode Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | ID | newbornBabyIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | ID | babyDetainedIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | CWE | modeofArrivalCode | |||||
![]() ![]() ![]() | 0..* | CWE | recreationalDrugUseCode | |||||
![]() ![]() ![]() | 0..1 | CWE | admissionLevelofCareCode | |||||
![]() ![]() ![]() | 0..* | CWE | precautionCode | |||||
![]() ![]() ![]() | 0..1 | CWE | patientConditionCode | |||||
![]() ![]() ![]() | 0..1 | CWE | livingWillCode | |||||
![]() ![]() ![]() | 0..1 | CWE | organDonorCode | |||||
![]() ![]() ![]() | 0..* | CWE | advanceDirectiveCode | |||||
![]() ![]() ![]() | 0..1 | DT | patientStatusEffectiveDate | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedLOAReturnDateTime | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedPre-admissionTestingDateTime | |||||
![]() ![]() ![]() | 0..* | CWE | notifyClergyCode | |||||
![]() ![]() ![]() | 0..1 | DT | advanceDirectiveLastVerifiedDate | |||||
![]() |
Path | Conformance | ValueSet |
PV2.language | required | AllLanguages |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | PV2 | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | PV2 | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | PV2 | 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 | PV2 | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | PV2 | 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() |
This structure is derived from DomainResource
Differential View
This structure is derived from DomainResource
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 1..1 | DomainResource | Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension A resource with narrative, extensions, and contained resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | 0..1 | PL | priorPendingLocation | |
![]() ![]() ![]() | 0..1 | CWE | accommodationCode | |
![]() ![]() ![]() | 0..1 | CWE | admitReason | |
![]() ![]() ![]() | 0..1 | CWE | transferReason | |
![]() ![]() ![]() | 0..* | ST | patientValuables | |
![]() ![]() ![]() | 0..1 | ST | patientValuablesLocation | |
![]() ![]() ![]() | 0..* | CWE | visitUserCode | |
![]() ![]() ![]() | 0..1 | DTM | expectedAdmitDateTime | |
![]() ![]() ![]() | 0..1 | DTM | expectedDischargeDateTime | |
![]() ![]() ![]() | 0..1 | NM | estimatedLengthofInpatientStay | |
![]() ![]() ![]() | 0..1 | NM | actualLengthofInpatientStay | |
![]() ![]() ![]() | 0..1 | ST | visitDescription | |
![]() ![]() ![]() | 0..* | XCN | referralSourceCode | |
![]() ![]() ![]() | 0..1 | DT | previousServiceDate | |
![]() ![]() ![]() | 0..1 | ID | employmentIllnessRelatedIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | CWE | purgeStatusCode | |
![]() ![]() ![]() | 0..1 | DT | purgeStatusDate | |
![]() ![]() ![]() | 0..1 | CWE | specialProgramCode | |
![]() ![]() ![]() | 0..1 | ID | retentionIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | NM | expectedNumberofInsurancePlans | |
![]() ![]() ![]() | 0..1 | CWE | visitPublicityCode | |
![]() ![]() ![]() | 0..1 | ID | visitProtectionIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..* | XON | clinicOrganizationName | |
![]() ![]() ![]() | 0..1 | CWE | patientStatusCode | |
![]() ![]() ![]() | 0..1 | CWE | visitPriorityCode | |
![]() ![]() ![]() | 0..1 | DT | previousTreatmentDate | |
![]() ![]() ![]() | 0..1 | CWE | expectedDischargeDisposition | |
![]() ![]() ![]() | 0..1 | DT | signatureonFileDate | |
![]() ![]() ![]() | 0..1 | DT | firstSimilarIllnessDate | |
![]() ![]() ![]() | 0..1 | CWE | patientChargeAdjustmentCode | |
![]() ![]() ![]() | 0..1 | CWE | recurringServiceCode | |
![]() ![]() ![]() | 0..1 | ID | billingMediaCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | DTM | expectedSurgeryDateandTime | |
![]() ![]() ![]() | 0..1 | ID | militaryPartnershipCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | militaryNon-AvailabilityCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | newbornBabyIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | babyDetainedIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | CWE | modeofArrivalCode | |
![]() ![]() ![]() | 0..* | CWE | recreationalDrugUseCode | |
![]() ![]() ![]() | 0..1 | CWE | admissionLevelofCareCode | |
![]() ![]() ![]() | 0..* | CWE | precautionCode | |
![]() ![]() ![]() | 0..1 | CWE | patientConditionCode | |
![]() ![]() ![]() | 0..1 | CWE | livingWillCode | |
![]() ![]() ![]() | 0..1 | CWE | organDonorCode | |
![]() ![]() ![]() | 0..* | CWE | advanceDirectiveCode | |
![]() ![]() ![]() | 0..1 | DT | patientStatusEffectiveDate | |
![]() ![]() ![]() | 0..1 | DTM | expectedLOAReturnDateTime | |
![]() ![]() ![]() | 0..1 | DTM | expectedPre-admissionTestingDateTime | |
![]() ![]() ![]() | 0..* | CWE | notifyClergyCode | |
![]() ![]() ![]() | 0..1 | DT | advanceDirectiveLastVerifiedDate | |
![]() |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 1..1 | DomainResource | Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension A resource with narrative, extensions, and contained resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() ![]() | 0..1 | PL | priorPendingLocation | |
![]() ![]() ![]() | 0..1 | CWE | accommodationCode | |
![]() ![]() ![]() | 0..1 | CWE | admitReason | |
![]() ![]() ![]() | 0..1 | CWE | transferReason | |
![]() ![]() ![]() | 0..* | ST | patientValuables | |
![]() ![]() ![]() | 0..1 | ST | patientValuablesLocation | |
![]() ![]() ![]() | 0..* | CWE | visitUserCode | |
![]() ![]() ![]() | 0..1 | DTM | expectedAdmitDateTime | |
![]() ![]() ![]() | 0..1 | DTM | expectedDischargeDateTime | |
![]() ![]() ![]() | 0..1 | NM | estimatedLengthofInpatientStay | |
![]() ![]() ![]() | 0..1 | NM | actualLengthofInpatientStay | |
![]() ![]() ![]() | 0..1 | ST | visitDescription | |
![]() ![]() ![]() | 0..* | XCN | referralSourceCode | |
![]() ![]() ![]() | 0..1 | DT | previousServiceDate | |
![]() ![]() ![]() | 0..1 | ID | employmentIllnessRelatedIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | CWE | purgeStatusCode | |
![]() ![]() ![]() | 0..1 | DT | purgeStatusDate | |
![]() ![]() ![]() | 0..1 | CWE | specialProgramCode | |
![]() ![]() ![]() | 0..1 | ID | retentionIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | NM | expectedNumberofInsurancePlans | |
![]() ![]() ![]() | 0..1 | CWE | visitPublicityCode | |
![]() ![]() ![]() | 0..1 | ID | visitProtectionIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..* | XON | clinicOrganizationName | |
![]() ![]() ![]() | 0..1 | CWE | patientStatusCode | |
![]() ![]() ![]() | 0..1 | CWE | visitPriorityCode | |
![]() ![]() ![]() | 0..1 | DT | previousTreatmentDate | |
![]() ![]() ![]() | 0..1 | CWE | expectedDischargeDisposition | |
![]() ![]() ![]() | 0..1 | DT | signatureonFileDate | |
![]() ![]() ![]() | 0..1 | DT | firstSimilarIllnessDate | |
![]() ![]() ![]() | 0..1 | CWE | patientChargeAdjustmentCode | |
![]() ![]() ![]() | 0..1 | CWE | recurringServiceCode | |
![]() ![]() ![]() | 0..1 | ID | billingMediaCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | DTM | expectedSurgeryDateandTime | |
![]() ![]() ![]() | 0..1 | ID | militaryPartnershipCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | militaryNon-AvailabilityCode Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | newbornBabyIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | ID | babyDetainedIndicator Max Length: 1 | |
![]() ![]() ![]() | 0..1 | CWE | modeofArrivalCode | |
![]() ![]() ![]() | 0..* | CWE | recreationalDrugUseCode | |
![]() ![]() ![]() | 0..1 | CWE | admissionLevelofCareCode | |
![]() ![]() ![]() | 0..* | CWE | precautionCode | |
![]() ![]() ![]() | 0..1 | CWE | patientConditionCode | |
![]() ![]() ![]() | 0..1 | CWE | livingWillCode | |
![]() ![]() ![]() | 0..1 | CWE | organDonorCode | |
![]() ![]() ![]() | 0..* | CWE | advanceDirectiveCode | |
![]() ![]() ![]() | 0..1 | DT | patientStatusEffectiveDate | |
![]() ![]() ![]() | 0..1 | DTM | expectedLOAReturnDateTime | |
![]() ![]() ![]() | 0..1 | DTM | expectedPre-admissionTestingDateTime | |
![]() ![]() ![]() | 0..* | CWE | notifyClergyCode | |
![]() ![]() ![]() | 0..1 | DT | advanceDirectiveLastVerifiedDate | |
![]() |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | PV2 | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | PV2 | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | PV2 | 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 | PV2 | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | PV2 | 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() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 1..1 | DomainResource | Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension A resource with narrative, extensions, and contained resources Instances of this logical model are not marked to be the target of a Reference | |||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 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: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() | 0..1 | PL | priorPendingLocation | |||||
![]() ![]() ![]() | 0..1 | CWE | accommodationCode | |||||
![]() ![]() ![]() | 0..1 | CWE | admitReason | |||||
![]() ![]() ![]() | 0..1 | CWE | transferReason | |||||
![]() ![]() ![]() | 0..* | ST | patientValuables | |||||
![]() ![]() ![]() | 0..1 | ST | patientValuablesLocation | |||||
![]() ![]() ![]() | 0..* | CWE | visitUserCode | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedAdmitDateTime | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedDischargeDateTime | |||||
![]() ![]() ![]() | 0..1 | NM | estimatedLengthofInpatientStay | |||||
![]() ![]() ![]() | 0..1 | NM | actualLengthofInpatientStay | |||||
![]() ![]() ![]() | 0..1 | ST | visitDescription | |||||
![]() ![]() ![]() | 0..* | XCN | referralSourceCode | |||||
![]() ![]() ![]() | 0..1 | DT | previousServiceDate | |||||
![]() ![]() ![]() | 0..1 | ID | employmentIllnessRelatedIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | CWE | purgeStatusCode | |||||
![]() ![]() ![]() | 0..1 | DT | purgeStatusDate | |||||
![]() ![]() ![]() | 0..1 | CWE | specialProgramCode | |||||
![]() ![]() ![]() | 0..1 | ID | retentionIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | NM | expectedNumberofInsurancePlans | |||||
![]() ![]() ![]() | 0..1 | CWE | visitPublicityCode | |||||
![]() ![]() ![]() | 0..1 | ID | visitProtectionIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..* | XON | clinicOrganizationName | |||||
![]() ![]() ![]() | 0..1 | CWE | patientStatusCode | |||||
![]() ![]() ![]() | 0..1 | CWE | visitPriorityCode | |||||
![]() ![]() ![]() | 0..1 | DT | previousTreatmentDate | |||||
![]() ![]() ![]() | 0..1 | CWE | expectedDischargeDisposition | |||||
![]() ![]() ![]() | 0..1 | DT | signatureonFileDate | |||||
![]() ![]() ![]() | 0..1 | DT | firstSimilarIllnessDate | |||||
![]() ![]() ![]() | 0..1 | CWE | patientChargeAdjustmentCode | |||||
![]() ![]() ![]() | 0..1 | CWE | recurringServiceCode | |||||
![]() ![]() ![]() | 0..1 | ID | billingMediaCode Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedSurgeryDateandTime | |||||
![]() ![]() ![]() | 0..1 | ID | militaryPartnershipCode Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | ID | militaryNon-AvailabilityCode Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | ID | newbornBabyIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | ID | babyDetainedIndicator Max Length: 1 | |||||
![]() ![]() ![]() | 0..1 | CWE | modeofArrivalCode | |||||
![]() ![]() ![]() | 0..* | CWE | recreationalDrugUseCode | |||||
![]() ![]() ![]() | 0..1 | CWE | admissionLevelofCareCode | |||||
![]() ![]() ![]() | 0..* | CWE | precautionCode | |||||
![]() ![]() ![]() | 0..1 | CWE | patientConditionCode | |||||
![]() ![]() ![]() | 0..1 | CWE | livingWillCode | |||||
![]() ![]() ![]() | 0..1 | CWE | organDonorCode | |||||
![]() ![]() ![]() | 0..* | CWE | advanceDirectiveCode | |||||
![]() ![]() ![]() | 0..1 | DT | patientStatusEffectiveDate | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedLOAReturnDateTime | |||||
![]() ![]() ![]() | 0..1 | DTM | expectedPre-admissionTestingDateTime | |||||
![]() ![]() ![]() | 0..* | CWE | notifyClergyCode | |||||
![]() ![]() ![]() | 0..1 | DT | advanceDirectiveLastVerifiedDate | |||||
![]() |
Path | Conformance | ValueSet |
PV2.language | required | AllLanguages |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | PV2 | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | PV2 | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | PV2 | 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 | PV2 | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | PV2 | 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() |
This structure is derived from DomainResource