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/PV1 | Version: 2.9 | |||
| Draft as of 2023-08-09 | Responsible: FO | Computable Name: PV1 | ||
Copyright/Legal: FO |
||||
Patient Visit
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 | SI | setID-PV1 Max Length: 4 | |
![]() ![]() | S | 1..1 | CWE | patientClass |
![]() ![]() | 0..1 | PL | assignedPatientLocation | |
![]() ![]() | 0..1 | CWE | admissionType | |
![]() ![]() | 0..1 | CX | preadmitNumber | |
![]() ![]() | 0..1 | PL | priorPatientLocation | |
![]() ![]() | 0..* | XCN | attendingDoctor | |
![]() ![]() | 0..* | XCN | referringDoctor | |
![]() ![]() | 0..* | XCN | consultingDoctor | |
![]() ![]() | 0..1 | CWE | hospitalService | |
![]() ![]() | 0..1 | PL | temporaryLocation | |
![]() ![]() | 0..1 | CWE | preadmitTestIndicator | |
![]() ![]() | 0..1 | CWE | re-admissionIndicator | |
![]() ![]() | 0..1 | CWE | admitSource | |
![]() ![]() | 0..* | CWE | ambulatoryStatus | |
![]() ![]() | 0..1 | CWE | vIPIndicator | |
![]() ![]() | 0..* | XCN | admittingDoctor | |
![]() ![]() | 0..1 | CWE | patientType | |
![]() ![]() | 0..1 | CX | visitNumber | |
![]() ![]() | 0..* | FC | financialClass | |
![]() ![]() | 0..1 | CWE | chargePriceIndicator | |
![]() ![]() | 0..1 | CWE | courtesyCode | |
![]() ![]() | 0..1 | CWE | creditRating | |
![]() ![]() | 0..* | CWE | contractCode | |
![]() ![]() | 0..* | DT | contractEffectiveDate | |
![]() ![]() | 0..* | NM | contractAmount | |
![]() ![]() | 0..* | NM | contractPeriod | |
![]() ![]() | 0..1 | CWE | interestCode | |
![]() ![]() | 0..1 | CWE | transfertoBadDebtCode | |
![]() ![]() | 0..1 | DT | transfertoBadDebtDate | |
![]() ![]() | 0..1 | CWE | badDebtAgencyCode | |
![]() ![]() | 0..1 | NM | badDebtTransferAmount | |
![]() ![]() | 0..1 | NM | badDebtRecoveryAmount | |
![]() ![]() | 0..1 | CWE | deleteAccountIndicator | |
![]() ![]() | 0..1 | DT | deleteAccountDate | |
![]() ![]() | 0..1 | CWE | dischargeDisposition | |
![]() ![]() | 0..1 | DLD | dischargedtoLocation | |
![]() ![]() | 0..1 | CWE | dietType | |
![]() ![]() | 0..1 | CWE | servicingFacility | |
![]() ![]() | 0..1 | CWE | bedStatus | |
![]() ![]() | 0..1 | CWE | accountStatus | |
![]() ![]() | 0..1 | PL | pendingLocation | |
![]() ![]() | 0..1 | PL | priorTemporaryLocation | |
![]() ![]() | 0..1 | DTM | admitDateTime | |
![]() ![]() | 0..1 | DTM | dischargeDateTime | |
![]() ![]() | 0..1 | NM | currentPatientBalance | |
![]() ![]() | 0..1 | NM | totalCharges | |
![]() ![]() | 0..1 | NM | totalAdjustments | |
![]() ![]() | 0..1 | NM | totalPayments | |
![]() ![]() | 0..* | CX | alternateVisitID | |
![]() ![]() | 0..1 | CWE | visitIndicator | |
![]() ![]() | 0..1 | - | otherHealthcareProvider | |
![]() ![]() | 0..1 | ST | serviceEpisodeDescription | |
![]() ![]() | 0..1 | CX | serviceEpisodeIdentifier | |
Documentation for this format | ||||
| 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 | SI | setID-PV1 Max Length: 4 | |
![]() ![]() | S | 1..1 | CWE | patientClass |
![]() ![]() | 0..1 | PL | assignedPatientLocation | |
![]() ![]() | 0..1 | CWE | admissionType | |
![]() ![]() | 0..1 | CX | preadmitNumber | |
![]() ![]() | 0..1 | PL | priorPatientLocation | |
![]() ![]() | 0..* | XCN | attendingDoctor | |
![]() ![]() | 0..* | XCN | referringDoctor | |
![]() ![]() | 0..* | XCN | consultingDoctor | |
![]() ![]() | 0..1 | CWE | hospitalService | |
![]() ![]() | 0..1 | PL | temporaryLocation | |
![]() ![]() | 0..1 | CWE | preadmitTestIndicator | |
![]() ![]() | 0..1 | CWE | re-admissionIndicator | |
![]() ![]() | 0..1 | CWE | admitSource | |
![]() ![]() | 0..* | CWE | ambulatoryStatus | |
![]() ![]() | 0..1 | CWE | vIPIndicator | |
![]() ![]() | 0..* | XCN | admittingDoctor | |
![]() ![]() | 0..1 | CWE | patientType | |
![]() ![]() | 0..1 | CX | visitNumber | |
![]() ![]() | 0..* | FC | financialClass | |
![]() ![]() | 0..1 | CWE | chargePriceIndicator | |
![]() ![]() | 0..1 | CWE | courtesyCode | |
![]() ![]() | 0..1 | CWE | creditRating | |
![]() ![]() | 0..* | CWE | contractCode | |
![]() ![]() | 0..* | DT | contractEffectiveDate | |
![]() ![]() | 0..* | NM | contractAmount | |
![]() ![]() | 0..* | NM | contractPeriod | |
![]() ![]() | 0..1 | CWE | interestCode | |
![]() ![]() | 0..1 | CWE | transfertoBadDebtCode | |
![]() ![]() | 0..1 | DT | transfertoBadDebtDate | |
![]() ![]() | 0..1 | CWE | badDebtAgencyCode | |
![]() ![]() | 0..1 | NM | badDebtTransferAmount | |
![]() ![]() | 0..1 | NM | badDebtRecoveryAmount | |
![]() ![]() | 0..1 | CWE | deleteAccountIndicator | |
![]() ![]() | 0..1 | DT | deleteAccountDate | |
![]() ![]() | 0..1 | CWE | dischargeDisposition | |
![]() ![]() | 0..1 | DLD | dischargedtoLocation | |
![]() ![]() | 0..1 | CWE | dietType | |
![]() ![]() | 0..1 | CWE | servicingFacility | |
![]() ![]() | 0..1 | CWE | bedStatus | |
![]() ![]() | 0..1 | CWE | accountStatus | |
![]() ![]() | 0..1 | PL | pendingLocation | |
![]() ![]() | 0..1 | PL | priorTemporaryLocation | |
![]() ![]() | 0..1 | DTM | admitDateTime | |
![]() ![]() | 0..1 | DTM | dischargeDateTime | |
![]() ![]() | 0..1 | NM | currentPatientBalance | |
![]() ![]() | 0..1 | NM | totalCharges | |
![]() ![]() | 0..1 | NM | totalAdjustments | |
![]() ![]() | 0..1 | NM | totalPayments | |
![]() ![]() | 0..* | CX | alternateVisitID | |
![]() ![]() | 0..1 | CWE | visitIndicator | |
![]() ![]() | 0..1 | - | otherHealthcareProvider | |
![]() ![]() | 0..1 | ST | serviceEpisodeDescription | |
![]() ![]() | 0..1 | CX | serviceEpisodeIdentifier | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| dom-2 | error | PV1 | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | PV1 | 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 | PV1 | 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 | PV1 | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | PV1 | 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 | SI | setID-PV1 Max Length: 4 | |||||
![]() ![]() | S | 1..1 | CWE | patientClass | ||||
![]() ![]() | 0..1 | PL | assignedPatientLocation | |||||
![]() ![]() | 0..1 | CWE | admissionType | |||||
![]() ![]() | 0..1 | CX | preadmitNumber | |||||
![]() ![]() | 0..1 | PL | priorPatientLocation | |||||
![]() ![]() | 0..* | XCN | attendingDoctor | |||||
![]() ![]() | 0..* | XCN | referringDoctor | |||||
![]() ![]() | 0..* | XCN | consultingDoctor | |||||
![]() ![]() | 0..1 | CWE | hospitalService | |||||
![]() ![]() | 0..1 | PL | temporaryLocation | |||||
![]() ![]() | 0..1 | CWE | preadmitTestIndicator | |||||
![]() ![]() | 0..1 | CWE | re-admissionIndicator | |||||
![]() ![]() | 0..1 | CWE | admitSource | |||||
![]() ![]() | 0..* | CWE | ambulatoryStatus | |||||
![]() ![]() | 0..1 | CWE | vIPIndicator | |||||
![]() ![]() | 0..* | XCN | admittingDoctor | |||||
![]() ![]() | 0..1 | CWE | patientType | |||||
![]() ![]() | 0..1 | CX | visitNumber | |||||
![]() ![]() | 0..* | FC | financialClass | |||||
![]() ![]() | 0..1 | CWE | chargePriceIndicator | |||||
![]() ![]() | 0..1 | CWE | courtesyCode | |||||
![]() ![]() | 0..1 | CWE | creditRating | |||||
![]() ![]() | 0..* | CWE | contractCode | |||||
![]() ![]() | 0..* | DT | contractEffectiveDate | |||||
![]() ![]() | 0..* | NM | contractAmount | |||||
![]() ![]() | 0..* | NM | contractPeriod | |||||
![]() ![]() | 0..1 | CWE | interestCode | |||||
![]() ![]() | 0..1 | CWE | transfertoBadDebtCode | |||||
![]() ![]() | 0..1 | DT | transfertoBadDebtDate | |||||
![]() ![]() | 0..1 | CWE | badDebtAgencyCode | |||||
![]() ![]() | 0..1 | NM | badDebtTransferAmount | |||||
![]() ![]() | 0..1 | NM | badDebtRecoveryAmount | |||||
![]() ![]() | 0..1 | CWE | deleteAccountIndicator | |||||
![]() ![]() | 0..1 | DT | deleteAccountDate | |||||
![]() ![]() | 0..1 | CWE | dischargeDisposition | |||||
![]() ![]() | 0..1 | DLD | dischargedtoLocation | |||||
![]() ![]() | 0..1 | CWE | dietType | |||||
![]() ![]() | 0..1 | CWE | servicingFacility | |||||
![]() ![]() | 0..1 | CWE | bedStatus | |||||
![]() ![]() | 0..1 | CWE | accountStatus | |||||
![]() ![]() | 0..1 | PL | pendingLocation | |||||
![]() ![]() | 0..1 | PL | priorTemporaryLocation | |||||
![]() ![]() | 0..1 | DTM | admitDateTime | |||||
![]() ![]() | 0..1 | DTM | dischargeDateTime | |||||
![]() ![]() | 0..1 | NM | currentPatientBalance | |||||
![]() ![]() | 0..1 | NM | totalCharges | |||||
![]() ![]() | 0..1 | NM | totalAdjustments | |||||
![]() ![]() | 0..1 | NM | totalPayments | |||||
![]() ![]() | 0..* | CX | alternateVisitID | |||||
![]() ![]() | 0..1 | CWE | visitIndicator | |||||
![]() ![]() | 0..1 | - | otherHealthcareProvider | |||||
![]() ![]() | 0..1 | ST | serviceEpisodeDescription | |||||
![]() ![]() | 0..1 | CX | serviceEpisodeIdentifier | |||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet |
| PV1.language | required | AllLanguages |
| Id | Grade | Path(s) | Details | Requirements |
| dom-2 | error | PV1 | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | PV1 | 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 | PV1 | 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 | PV1 | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | PV1 | 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 | SI | setID-PV1 Max Length: 4 | |
![]() ![]() | S | 1..1 | CWE | patientClass |
![]() ![]() | 0..1 | PL | assignedPatientLocation | |
![]() ![]() | 0..1 | CWE | admissionType | |
![]() ![]() | 0..1 | CX | preadmitNumber | |
![]() ![]() | 0..1 | PL | priorPatientLocation | |
![]() ![]() | 0..* | XCN | attendingDoctor | |
![]() ![]() | 0..* | XCN | referringDoctor | |
![]() ![]() | 0..* | XCN | consultingDoctor | |
![]() ![]() | 0..1 | CWE | hospitalService | |
![]() ![]() | 0..1 | PL | temporaryLocation | |
![]() ![]() | 0..1 | CWE | preadmitTestIndicator | |
![]() ![]() | 0..1 | CWE | re-admissionIndicator | |
![]() ![]() | 0..1 | CWE | admitSource | |
![]() ![]() | 0..* | CWE | ambulatoryStatus | |
![]() ![]() | 0..1 | CWE | vIPIndicator | |
![]() ![]() | 0..* | XCN | admittingDoctor | |
![]() ![]() | 0..1 | CWE | patientType | |
![]() ![]() | 0..1 | CX | visitNumber | |
![]() ![]() | 0..* | FC | financialClass | |
![]() ![]() | 0..1 | CWE | chargePriceIndicator | |
![]() ![]() | 0..1 | CWE | courtesyCode | |
![]() ![]() | 0..1 | CWE | creditRating | |
![]() ![]() | 0..* | CWE | contractCode | |
![]() ![]() | 0..* | DT | contractEffectiveDate | |
![]() ![]() | 0..* | NM | contractAmount | |
![]() ![]() | 0..* | NM | contractPeriod | |
![]() ![]() | 0..1 | CWE | interestCode | |
![]() ![]() | 0..1 | CWE | transfertoBadDebtCode | |
![]() ![]() | 0..1 | DT | transfertoBadDebtDate | |
![]() ![]() | 0..1 | CWE | badDebtAgencyCode | |
![]() ![]() | 0..1 | NM | badDebtTransferAmount | |
![]() ![]() | 0..1 | NM | badDebtRecoveryAmount | |
![]() ![]() | 0..1 | CWE | deleteAccountIndicator | |
![]() ![]() | 0..1 | DT | deleteAccountDate | |
![]() ![]() | 0..1 | CWE | dischargeDisposition | |
![]() ![]() | 0..1 | DLD | dischargedtoLocation | |
![]() ![]() | 0..1 | CWE | dietType | |
![]() ![]() | 0..1 | CWE | servicingFacility | |
![]() ![]() | 0..1 | CWE | bedStatus | |
![]() ![]() | 0..1 | CWE | accountStatus | |
![]() ![]() | 0..1 | PL | pendingLocation | |
![]() ![]() | 0..1 | PL | priorTemporaryLocation | |
![]() ![]() | 0..1 | DTM | admitDateTime | |
![]() ![]() | 0..1 | DTM | dischargeDateTime | |
![]() ![]() | 0..1 | NM | currentPatientBalance | |
![]() ![]() | 0..1 | NM | totalCharges | |
![]() ![]() | 0..1 | NM | totalAdjustments | |
![]() ![]() | 0..1 | NM | totalPayments | |
![]() ![]() | 0..* | CX | alternateVisitID | |
![]() ![]() | 0..1 | CWE | visitIndicator | |
![]() ![]() | 0..1 | - | otherHealthcareProvider | |
![]() ![]() | 0..1 | ST | serviceEpisodeDescription | |
![]() ![]() | 0..1 | CX | serviceEpisodeIdentifier | |
Documentation for this format | ||||
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 | SI | setID-PV1 Max Length: 4 | |
![]() ![]() | S | 1..1 | CWE | patientClass |
![]() ![]() | 0..1 | PL | assignedPatientLocation | |
![]() ![]() | 0..1 | CWE | admissionType | |
![]() ![]() | 0..1 | CX | preadmitNumber | |
![]() ![]() | 0..1 | PL | priorPatientLocation | |
![]() ![]() | 0..* | XCN | attendingDoctor | |
![]() ![]() | 0..* | XCN | referringDoctor | |
![]() ![]() | 0..* | XCN | consultingDoctor | |
![]() ![]() | 0..1 | CWE | hospitalService | |
![]() ![]() | 0..1 | PL | temporaryLocation | |
![]() ![]() | 0..1 | CWE | preadmitTestIndicator | |
![]() ![]() | 0..1 | CWE | re-admissionIndicator | |
![]() ![]() | 0..1 | CWE | admitSource | |
![]() ![]() | 0..* | CWE | ambulatoryStatus | |
![]() ![]() | 0..1 | CWE | vIPIndicator | |
![]() ![]() | 0..* | XCN | admittingDoctor | |
![]() ![]() | 0..1 | CWE | patientType | |
![]() ![]() | 0..1 | CX | visitNumber | |
![]() ![]() | 0..* | FC | financialClass | |
![]() ![]() | 0..1 | CWE | chargePriceIndicator | |
![]() ![]() | 0..1 | CWE | courtesyCode | |
![]() ![]() | 0..1 | CWE | creditRating | |
![]() ![]() | 0..* | CWE | contractCode | |
![]() ![]() | 0..* | DT | contractEffectiveDate | |
![]() ![]() | 0..* | NM | contractAmount | |
![]() ![]() | 0..* | NM | contractPeriod | |
![]() ![]() | 0..1 | CWE | interestCode | |
![]() ![]() | 0..1 | CWE | transfertoBadDebtCode | |
![]() ![]() | 0..1 | DT | transfertoBadDebtDate | |
![]() ![]() | 0..1 | CWE | badDebtAgencyCode | |
![]() ![]() | 0..1 | NM | badDebtTransferAmount | |
![]() ![]() | 0..1 | NM | badDebtRecoveryAmount | |
![]() ![]() | 0..1 | CWE | deleteAccountIndicator | |
![]() ![]() | 0..1 | DT | deleteAccountDate | |
![]() ![]() | 0..1 | CWE | dischargeDisposition | |
![]() ![]() | 0..1 | DLD | dischargedtoLocation | |
![]() ![]() | 0..1 | CWE | dietType | |
![]() ![]() | 0..1 | CWE | servicingFacility | |
![]() ![]() | 0..1 | CWE | bedStatus | |
![]() ![]() | 0..1 | CWE | accountStatus | |
![]() ![]() | 0..1 | PL | pendingLocation | |
![]() ![]() | 0..1 | PL | priorTemporaryLocation | |
![]() ![]() | 0..1 | DTM | admitDateTime | |
![]() ![]() | 0..1 | DTM | dischargeDateTime | |
![]() ![]() | 0..1 | NM | currentPatientBalance | |
![]() ![]() | 0..1 | NM | totalCharges | |
![]() ![]() | 0..1 | NM | totalAdjustments | |
![]() ![]() | 0..1 | NM | totalPayments | |
![]() ![]() | 0..* | CX | alternateVisitID | |
![]() ![]() | 0..1 | CWE | visitIndicator | |
![]() ![]() | 0..1 | - | otherHealthcareProvider | |
![]() ![]() | 0..1 | ST | serviceEpisodeDescription | |
![]() ![]() | 0..1 | CX | serviceEpisodeIdentifier | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| dom-2 | error | PV1 | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | PV1 | 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 | PV1 | 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 | PV1 | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | PV1 | 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 | SI | setID-PV1 Max Length: 4 | |||||
![]() ![]() | S | 1..1 | CWE | patientClass | ||||
![]() ![]() | 0..1 | PL | assignedPatientLocation | |||||
![]() ![]() | 0..1 | CWE | admissionType | |||||
![]() ![]() | 0..1 | CX | preadmitNumber | |||||
![]() ![]() | 0..1 | PL | priorPatientLocation | |||||
![]() ![]() | 0..* | XCN | attendingDoctor | |||||
![]() ![]() | 0..* | XCN | referringDoctor | |||||
![]() ![]() | 0..* | XCN | consultingDoctor | |||||
![]() ![]() | 0..1 | CWE | hospitalService | |||||
![]() ![]() | 0..1 | PL | temporaryLocation | |||||
![]() ![]() | 0..1 | CWE | preadmitTestIndicator | |||||
![]() ![]() | 0..1 | CWE | re-admissionIndicator | |||||
![]() ![]() | 0..1 | CWE | admitSource | |||||
![]() ![]() | 0..* | CWE | ambulatoryStatus | |||||
![]() ![]() | 0..1 | CWE | vIPIndicator | |||||
![]() ![]() | 0..* | XCN | admittingDoctor | |||||
![]() ![]() | 0..1 | CWE | patientType | |||||
![]() ![]() | 0..1 | CX | visitNumber | |||||
![]() ![]() | 0..* | FC | financialClass | |||||
![]() ![]() | 0..1 | CWE | chargePriceIndicator | |||||
![]() ![]() | 0..1 | CWE | courtesyCode | |||||
![]() ![]() | 0..1 | CWE | creditRating | |||||
![]() ![]() | 0..* | CWE | contractCode | |||||
![]() ![]() | 0..* | DT | contractEffectiveDate | |||||
![]() ![]() | 0..* | NM | contractAmount | |||||
![]() ![]() | 0..* | NM | contractPeriod | |||||
![]() ![]() | 0..1 | CWE | interestCode | |||||
![]() ![]() | 0..1 | CWE | transfertoBadDebtCode | |||||
![]() ![]() | 0..1 | DT | transfertoBadDebtDate | |||||
![]() ![]() | 0..1 | CWE | badDebtAgencyCode | |||||
![]() ![]() | 0..1 | NM | badDebtTransferAmount | |||||
![]() ![]() | 0..1 | NM | badDebtRecoveryAmount | |||||
![]() ![]() | 0..1 | CWE | deleteAccountIndicator | |||||
![]() ![]() | 0..1 | DT | deleteAccountDate | |||||
![]() ![]() | 0..1 | CWE | dischargeDisposition | |||||
![]() ![]() | 0..1 | DLD | dischargedtoLocation | |||||
![]() ![]() | 0..1 | CWE | dietType | |||||
![]() ![]() | 0..1 | CWE | servicingFacility | |||||
![]() ![]() | 0..1 | CWE | bedStatus | |||||
![]() ![]() | 0..1 | CWE | accountStatus | |||||
![]() ![]() | 0..1 | PL | pendingLocation | |||||
![]() ![]() | 0..1 | PL | priorTemporaryLocation | |||||
![]() ![]() | 0..1 | DTM | admitDateTime | |||||
![]() ![]() | 0..1 | DTM | dischargeDateTime | |||||
![]() ![]() | 0..1 | NM | currentPatientBalance | |||||
![]() ![]() | 0..1 | NM | totalCharges | |||||
![]() ![]() | 0..1 | NM | totalAdjustments | |||||
![]() ![]() | 0..1 | NM | totalPayments | |||||
![]() ![]() | 0..* | CX | alternateVisitID | |||||
![]() ![]() | 0..1 | CWE | visitIndicator | |||||
![]() ![]() | 0..1 | - | otherHealthcareProvider | |||||
![]() ![]() | 0..1 | ST | serviceEpisodeDescription | |||||
![]() ![]() | 0..1 | CX | serviceEpisodeIdentifier | |||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet |
| PV1.language | required | AllLanguages |
| Id | Grade | Path(s) | Details | Requirements |
| dom-2 | error | PV1 | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | PV1 | 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 | PV1 | 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 | PV1 | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | PV1 | 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