Union of http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/DocumentReference-drug-pq and http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/DocumentReference-drug-pq

This is the set of resources that conform to either of the profiles DocumentReference - Drug PQ (http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/DocumentReference-drug-pq) and DocumentReference - Drug PQ (http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/DocumentReference-drug-pq). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference C0..*A reference to a document
docRef-1: facilityType SHALL only be present if context is not an encounter
docRef-2: practiceSetting SHALL only be present if context is not present
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (required): IETF language tag for a human language


ele-1: All FHIR elements must have a @value or children
... text 0..1NarrativeText summary of the resource, for human interpretation
ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣ0..*IdentifierBusiness identifiers for the document
ele-1: All FHIR elements must have a @value or children
... version Σ0..1stringAn explicitly assigned identifer of a variation of the content in the DocumentReference
ele-1: All FHIR elements must have a @value or children
... basedOn 0..*Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription)Procedure that caused this media to be created
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ1..1codecurrent | superseded | entered-in-error
Binding: ?? (required): The status of the document reference.


ele-1: All FHIR elements must have a @value or children
... docStatus Σ0..1coderegistered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: ?? (required): Status of the underlying document.


ele-1: All FHIR elements must have a @value or children
... modality Σ0..*CodeableConceptImaging modality used
Binding: ?? (extensible): Type of acquired data in the instance.


ele-1: All FHIR elements must have a @value or children
... type SΣ0..1CodeableConceptKind of document (LOINC if possible)
Binding: ?? (preferred): Precise type of clinical document.


ele-1: All FHIR elements must have a @value or children
... category Σ0..*CodeableConceptCategorization of document
Binding: ?? (example): High-level kind of document at a macro level.


ele-1: All FHIR elements must have a @value or children
... subject Σ0..1Reference(Resource)Who/what is the subject of the document
ele-1: All FHIR elements must have a @value or children
... context 0..*Reference(Appointment | Encounter | EpisodeOfCare)Context of the document content
ele-1: All FHIR elements must have a @value or children
... event 0..*CodeableReference()Main clinical acts documented
Binding: ?? (example): This list of codes represents the main clinical acts being documented.


ele-1: All FHIR elements must have a @value or children
... bodySite Σ0..*CodeableReference(BodyStructure)Body part included
Binding: ?? (example): SNOMED CT Body site concepts


ele-1: All FHIR elements must have a @value or children
... facilityType 0..1CodeableConceptKind of facility where patient was seen
Binding: ?? (example): XDS Facility Type.


ele-1: All FHIR elements must have a @value or children
... practiceSetting 0..1CodeableConceptAdditional details about where the content was created (e.g. clinical specialty)
Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty).


ele-1: All FHIR elements must have a @value or children
... period Σ0..1PeriodTime of service that is being documented
ele-1: All FHIR elements must have a @value or children
... date Σ0..1instantWhen this document reference was created
ele-1: All FHIR elements must have a @value or children
... author Σ0..*Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam)Who and/or what authored the document
ele-1: All FHIR elements must have a @value or children
... attester 0..*BackboneElementAttests to accuracy of the document
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... mode 1..1CodeableConceptpersonal | professional | legal | official
Binding: ?? (preferred): The way in which a person authenticated a document.


ele-1: All FHIR elements must have a @value or children
.... time 0..1dateTimeWhen the document was attested
ele-1: All FHIR elements must have a @value or children
.... party 0..1Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization)Who attested the document
ele-1: All FHIR elements must have a @value or children
... custodian 0..1Reference(Organization)Organization which maintains the document
ele-1: All FHIR elements must have a @value or children
... relatesTo Σ0..*BackboneElementRelationships to other documents
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... code Σ1..1CodeableConceptThe relationship type with another document
Binding: ?? (extensible): The type of relationship between the documents.


ele-1: All FHIR elements must have a @value or children
.... target Σ1..1Reference(DocumentReference)Target of the relationship
ele-1: All FHIR elements must have a @value or children
... description Σ0..1markdownHuman-readable description
ele-1: All FHIR elements must have a @value or children
... securityLabel Σ0..*CodeableConceptDocument security-tags
Binding: ?? (example): Example Security Labels from the Healthcare Privacy and Security Classification System.


ele-1: All FHIR elements must have a @value or children
... content SΣ1..*BackboneElementDocument referenced
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... attachment SΣ1..1AttachmentWhere to access the document
ele-1: All FHIR elements must have a @value or children
.... profile Σ0..*BackboneElementContent profile rules for the document
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... value[x] Σ1..1Code|uri|canonical
Binding: ?? (preferred): Document Format Codes.


ele-1: All FHIR elements must have a @value or children
...... valueCodingCoding
...... valueUriuri
...... valueCanonicalcanonical(Any)

doco Documentation for this format