Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Contract-example.ttl

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

General Contract Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:Contract;
  fhir:Resource.id [ fhir:value "C-123"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:Contract.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://happyvalley.com/contract" ];
     fhir:Identifier.value [ fhir:value "12347" ]
  ];
  fhir:Contract.term [
     fhir:index 0;
     fhir:Contract.offer [
       fhir:Contract.text [ fhir:value "Can't refuse" ]
     ];
     fhir:Contract.asset [
       fhir:index 0;
       fhir:Contract.type [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://something/something" ];
           fhir:Coding.code [ fhir:value "RicardianContract" ]
         ]
       ];
       fhir:Contract.subtype [
         fhir:index 0;
         fhir:CodeableConcept.text [ fhir:value "sample" ]
       ];
       fhir:Contract.period [
         fhir:index 0;
         fhir:Period.start [ fhir:value "2017-06-01" ]
       ];
       fhir:Contract.valuedItem [
         fhir:index 0;
         fhir:Contract.entity [
           fhir:CodeableConcept.text [ fhir:value "Ford Bobcat" ]
         ];
         fhir:Contract.identifier [
           fhir:Identifier.system [ fhir:value "http://somewhere.motor-vehicle.com/vin" ];
           fhir:Identifier.value [ fhir:value "XXSVT34-7665t952236" ]
         ];
         fhir:Contract.effectiveTime [ fhir:value "1995" ];
         fhir:Contract.quantity [
           fhir:Quantity.value [ fhir:value "1" ]
         ];
         fhir:Contract.unitPrice [
           fhir:Money.value [ fhir:value "200.00" ];
           fhir:Money.currency [ fhir:value "CAD" ]
         ];
         fhir:Contract.factor [ fhir:value "1.0" ];
         fhir:Contract.points [ fhir:value "1.0" ];
         fhir:Contract.net [
           fhir:Money.value [ fhir:value "200.00" ];
           fhir:Money.currency [ fhir:value "CAD" ]
         ]
       ]
     ]
  ];
  fhir:Contract.rule [
     fhir:index 0;
     fhir:Contract.content [
       fhir:Attachment.contentType [ fhir:value "application/txt" ];
       fhir:Attachment.url [ fhir:value "http://www.rfc-editor.org/bcp/bcp13.txt" ]
     ]
  ];
  fhir:Contract.legallyBinding [
     fhir:Attachment.contentType [ fhir:value "application/pdf" ];
     fhir:Attachment.url [ fhir:value "http://www.aws3.com/storage/doc.pdf" ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.