Union of http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-document-reference and http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-document-reference

This is the set of resources that conform to either of the profiles Document Reference Attachment (http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-document-reference) and Document Reference Attachment (http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-document-reference). 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
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... versionId Σ0..1idVersion specific identifier
ele-1: All FHIR elements must have a @value or children
.... lastUpdated Σ0..1instantWhen the resource version last changed
ele-1: All FHIR elements must have a @value or children
.... source Σ0..1uriIdentifies where the resource comes from
ele-1: All FHIR elements must have a @value or children
.... profile SΣ1..1canonical(StructureDefinition)Profiles this resource claims to conform to
ele-1: All FHIR elements must have a @value or children
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


ele-1: All FHIR elements must have a @value or children
.... tag Σ0..*CodingTags applied to this resource
Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


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 Σ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 ?!Σ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 Σ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..1Attachmentleft: Where to access the document; right: Content in a format defined elsewhere
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... contentType SΣC1..1codeMime type of the content, with charset etc.
Binding: ?? (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)


ele-1: All FHIR elements must have a @value or children
Example General: text/plain; charset=UTF-8, image/png
..... language Σ0..1codeHuman language of the content (BCP-47)
Binding: ?? (required): IETF language tag for a human language.

Additional BindingsPurpose
??Starter Set

ele-1: All FHIR elements must have a @value or children
Example General: en-AU
..... data SC1..1base64BinaryData inline, base64ed
ele-1: All FHIR elements must have a @value or children
..... url Σ0..1urlUri where the data can be found
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/logo-small.png
..... size Σ0..1integer64Number of bytes of content (if url provided)
ele-1: All FHIR elements must have a @value or children
..... hash Σ0..1base64BinaryHash of the data (sha-1, base64ed)
ele-1: All FHIR elements must have a @value or children
..... title SΣ1..1stringDocument file name including the file extension
ele-1: All FHIR elements must have a @value or children
Example General: Official Corporate Logo
..... creation Σ0..1dateTimeDate attachment was first created
ele-1: All FHIR elements must have a @value or children
..... height 0..1positiveIntHeight of the image in pixels (photo/video)
ele-1: All FHIR elements must have a @value or children
..... width 0..1positiveIntWidth of the image in pixels (photo/video)
ele-1: All FHIR elements must have a @value or children
..... frames 0..1positiveIntNumber of frames if > 1 (photo)
ele-1: All FHIR elements must have a @value or children
..... duration 0..1decimalLength in seconds (audio / video)
ele-1: All FHIR elements must have a @value or children
..... pages 0..1positiveIntNumber of printed pages
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