Union of http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DocumentReference and http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DocumentReference

This is the set of resources that conform to either of the profiles ADI Document Reference (http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DocumentReference) and ADI Document Reference (http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DocumentReference). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*A reference to a document
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: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*Extensionleft: Additional content defined by implementations; right: Extension
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
... masterIdentifier Σ0..1IdentifierMaster Version Specific Identifier
ele-1: All FHIR elements must have a @value or children
... identifier SΣ0..*Identifierleft: Other identifiers for the document; right: (USCDI) Other identifiers for the document
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ1..1codeleft: current | superseded | entered-in-error; right: (USCDI) current | superseded | entered-in-error
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
... docStatus Σ0..1codepreliminary | final | amended | entered-in-error
Binding: ?? (required): Status of the underlying document.


ele-1: All FHIR elements must have a @value or children
... type SΣ1..1CodeableConceptleft: Advance Directive Categories; right: (USCDI) Kind of document (LOINC if possible)
Binding: ?? (required): All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'


ele-1: All FHIR elements must have a @value or children
... category SΣ1..*CodeableConceptleft: Categorization of document; right: (USCDI) Categorization of document
Binding: ?? (extensible)
ele-1: All FHIR elements must have a @value or children
... subject SΣ1..1Reference(US Core Patient Profile | #sd-us-core-patient-us-core-patient)left: Patient; right: (USCDI) Who/what is the subject of the document
ele-1: All FHIR elements must have a @value or children
... date SΣ0..1instantleft: When this document reference was created; right: (USCDI) When this document reference was created
ele-1: All FHIR elements must have a @value or children
... author SΣ0..*Reference(US Core Practitioner Profile S | US Core Organization Profile | US Core Patient Profile | #sd-us-core-practitioner-us-core-practitioner)left: Who and/or what authored the document; right: (USCDI) Who and/or what authored the document
ele-1: All FHIR elements must have a @value or children
... authenticator 0..1Reference(Practitioner | PractitionerRole | Organization)Who/what authenticated the document
ele-1: All FHIR elements must have a @value or children
... custodian S0..1Reference(US Core Organization Profile | #sd-us-core-organization-us-core-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..1codereplaces | transforms | signs | appends
Binding: ?? (required): The type of relationship between 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..1stringHuman-readable description
ele-1: All FHIR elements must have a @value or children
... securityLabel Σ0..*CodeableConceptDocument security-tags
Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


ele-1: All FHIR elements must have a @value or children
... content SΣ1..*BackboneElementleft: Document referenced; right: (USCDI) Document 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ΣC1..1Attachmentleft: Where to access the document; right: (USCDI) Where to access the document
ele-1: All FHIR elements must have a @value or children
us-core-6: DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.
..... 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
..... contentType SΣ1..1codeleft: Mime type of the content, with charset etc.; right: (USCDI) Mime type of the content, with charset etc.
Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.


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: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
Example General: en-AU
..... data S0..1base64Binaryleft: Data inline, base64ed; right: (USCDI) Data inline, base64ed
ele-1: All FHIR elements must have a @value or children
..... url SΣ0..1urlleft: Uri where the data can be found; right: (USCDI) Uri 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..1unsignedIntNumber 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 Σ0..1stringLabel to display in place of the data
ele-1: All FHIR elements must have a @value or children
Example General: Official Corporate Logo
..... creation SΣ0..1dateTimeDate attachment was first created
ele-1: All FHIR elements must have a @value or children
.... format SΣ0..1Codingleft: Format/content rules for the document; right: (USCDI) Format/content rules for the document
Binding: ?? (extensible)
ele-1: All FHIR elements must have a @value or children
... context SΣ0..1BackboneElementleft: Clinical context of document; right: (USCDI) Clinical context of 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
.... encounter S0..1Reference(US Core Encounter Profile | #sd-us-core-encounter-us-core-encounter)left: Context of the document content; right: (USCDI) Context of the document content
ele-1: All FHIR elements must have a @value or children
.... event 0..*CodeableConceptMain 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
.... period SΣ0..1Periodleft: Time of service that is being documented; right: (USCDI) Time of service that is being documented
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
.... sourcePatientInfo 0..1Reference(Patient)Patient demographics from source
ele-1: All FHIR elements must have a @value or children
.... related 0..*Reference(Resource)Related identifiers or resources
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format